Class KmsDiscoveryKeyring.Builder
- java.lang.Object
-
- software.amazon.encryption.s3.materials.S3Keyring.Builder<KmsDiscoveryKeyring,KmsDiscoveryKeyring.Builder>
-
- software.amazon.encryption.s3.materials.KmsDiscoveryKeyring.Builder
-
- Enclosing class:
- KmsDiscoveryKeyring
public static class KmsDiscoveryKeyring.Builder extends S3Keyring.Builder<KmsDiscoveryKeyring,KmsDiscoveryKeyring.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KmsDiscoveryKeyring
build()
protected KmsDiscoveryKeyring.Builder
builder()
KmsDiscoveryKeyring.Builder
kmsClient(software.amazon.awssdk.services.kms.KmsClient kmsClient)
Note that this does NOT create a defensive clone of KmsClient.-
Methods inherited from class software.amazon.encryption.s3.materials.S3Keyring.Builder
dataKeyGenerator, enableLegacyWrappingAlgorithms, secureRandom
-
-
-
-
Method Detail
-
builder
protected KmsDiscoveryKeyring.Builder builder()
- Specified by:
builder
in classS3Keyring.Builder<KmsDiscoveryKeyring,KmsDiscoveryKeyring.Builder>
-
kmsClient
public KmsDiscoveryKeyring.Builder kmsClient(software.amazon.awssdk.services.kms.KmsClient kmsClient)
Note that this does NOT create a defensive clone of KmsClient. Any modifications made to the wrapped client will be reflected in this Builder.
-
build
public KmsDiscoveryKeyring build()
- Specified by:
build
in classS3Keyring.Builder<KmsDiscoveryKeyring,KmsDiscoveryKeyring.Builder>
-
-