Interface EncryptionConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>,SdkBuilder<EncryptionConfig.Builder,EncryptionConfig>,SdkPojo
- Enclosing class:
- EncryptionConfig
public static interface EncryptionConfig.Builder extends SdkPojo, CopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EncryptionConfig.Builderprovider(Consumer<Provider.Builder> provider)Key Management Service (KMS) key.EncryptionConfig.Builderprovider(Provider provider)Key Management Service (KMS) key.EncryptionConfig.Builderresources(String... resources)Specifies the resources to be encrypted.EncryptionConfig.Builderresources(Collection<String> resources)Specifies the resources to be encrypted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resources
EncryptionConfig.Builder resources(Collection<String> resources)
Specifies the resources to be encrypted. The only supported value is
secrets.- Parameters:
resources- Specifies the resources to be encrypted. The only supported value issecrets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
EncryptionConfig.Builder resources(String... resources)
Specifies the resources to be encrypted. The only supported value is
secrets.- Parameters:
resources- Specifies the resources to be encrypted. The only supported value issecrets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
EncryptionConfig.Builder provider(Provider provider)
Key Management Service (KMS) key. Either the ARN or the alias can be used.
- Parameters:
provider- Key Management Service (KMS) key. Either the ARN or the alias can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
default EncryptionConfig.Builder provider(Consumer<Provider.Builder> provider)
Key Management Service (KMS) key. Either the ARN or the alias can be used.
This is a convenience method that creates an instance of theProvider.Builderavoiding the need to create one manually viaProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovider(Provider).- Parameters:
provider- a consumer that will call methods onProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
provider(Provider)
-
-