Interface EncryptionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EncryptionConfiguration.Builder,
,EncryptionConfiguration> SdkBuilder<EncryptionConfiguration.Builder,
,EncryptionConfiguration> SdkPojo
- Enclosing class:
EncryptionConfiguration
public static interface EncryptionConfiguration.Builder
extends SdkPojo, CopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EncryptionConfiguration.Builder
kmsEncryptionConfig
(Consumer<KMSEncryptionConfig.Builder> kmsEncryptionConfig) The encryption key.kmsEncryptionConfig
(KMSEncryptionConfig kmsEncryptionConfig) The encryption key.noEncryptionConfig
(String noEncryptionConfig) Specifically override existing encryption information to ensure that no encryption is used.noEncryptionConfig
(NoEncryptionConfig noEncryptionConfig) Specifically override existing encryption information to ensure that no encryption is used.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, sdkFields
-
Method Details
-
noEncryptionConfig
Specifically override existing encryption information to ensure that no encryption is used.
- Parameters:
noEncryptionConfig
- Specifically override existing encryption information to ensure that no encryption is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noEncryptionConfig
Specifically override existing encryption information to ensure that no encryption is used.
- Parameters:
noEncryptionConfig
- Specifically override existing encryption information to ensure that no encryption is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsEncryptionConfig
The encryption key.
- Parameters:
kmsEncryptionConfig
- The encryption key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsEncryptionConfig
default EncryptionConfiguration.Builder kmsEncryptionConfig(Consumer<KMSEncryptionConfig.Builder> kmsEncryptionConfig) The encryption key.
This is a convenience method that creates an instance of theKMSEncryptionConfig.Builder
avoiding the need to create one manually viaKMSEncryptionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokmsEncryptionConfig(KMSEncryptionConfig)
.- Parameters:
kmsEncryptionConfig
- a consumer that will call methods onKMSEncryptionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-