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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EncryptionConfiguration.BuilderkmsEncryptionConfig(Consumer<KMSEncryptionConfig.Builder> kmsEncryptionConfig)The encryption key.EncryptionConfiguration.BuilderkmsEncryptionConfig(KMSEncryptionConfig kmsEncryptionConfig)The encryption key.EncryptionConfiguration.BuildernoEncryptionConfig(String noEncryptionConfig)Specifically override existing encryption information to ensure that no encryption is used.EncryptionConfiguration.BuildernoEncryptionConfig(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 Detail
-
noEncryptionConfig
EncryptionConfiguration.Builder noEncryptionConfig(String 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,NoEncryptionConfig
-
noEncryptionConfig
EncryptionConfiguration.Builder noEncryptionConfig(NoEncryptionConfig 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,NoEncryptionConfig
-
kmsEncryptionConfig
EncryptionConfiguration.Builder kmsEncryptionConfig(KMSEncryptionConfig 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.Builderavoiding the need to create one manually viaKMSEncryptionConfig.builder().When the
Consumercompletes,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:
kmsEncryptionConfig(KMSEncryptionConfig)
-
-