Interface EncryptionSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionSettings.Builder,,EncryptionSettings> SdkBuilder<EncryptionSettings.Builder,,EncryptionSettings> SdkPojo
- Enclosing class:
EncryptionSettings
@Mutable
@NotThreadSafe
public static interface EncryptionSettings.Builder
extends SdkPojo, CopyableBuilder<EncryptionSettings.Builder,EncryptionSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EncryptionSettings.BuilderdefaultValue(Consumer<Unit.Builder> defaultValue) Use AWS owned encryption keys for encrypting policy store data.defaultValue(Unit defaultValue) Use AWS owned encryption keys for encrypting policy store data.default EncryptionSettings.BuilderkmsEncryptionSettings(Consumer<KmsEncryptionSettings.Builder> kmsEncryptionSettings) The KMS encryption settings for this policy store to encrypt data with.kmsEncryptionSettings(KmsEncryptionSettings kmsEncryptionSettings) The KMS encryption settings for this policy store to encrypt data with.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
kmsEncryptionSettings
The KMS encryption settings for this policy store to encrypt data with. It will contain the customer-managed KMS key, and a user-defined encryption context.
- Parameters:
kmsEncryptionSettings- The KMS encryption settings for this policy store to encrypt data with. It will contain the customer-managed KMS key, and a user-defined encryption context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsEncryptionSettings
default EncryptionSettings.Builder kmsEncryptionSettings(Consumer<KmsEncryptionSettings.Builder> kmsEncryptionSettings) The KMS encryption settings for this policy store to encrypt data with. It will contain the customer-managed KMS key, and a user-defined encryption context.
This is a convenience method that creates an instance of theKmsEncryptionSettings.Builderavoiding the need to create one manually viaKmsEncryptionSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokmsEncryptionSettings(KmsEncryptionSettings).- Parameters:
kmsEncryptionSettings- a consumer that will call methods onKmsEncryptionSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultValue
Use AWS owned encryption keys for encrypting policy store data.
- Parameters:
defaultValue- Use AWS owned encryption keys for encrypting policy store data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
Use AWS owned encryption keys for encrypting policy store data.
This is a convenience method that creates an instance of theUnit.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultValue(Unit).- Parameters:
defaultValue- a consumer that will call methods onUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-