Interface EncryptionState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionState.Builder,,EncryptionState> SdkBuilder<EncryptionState.Builder,,EncryptionState> SdkPojo
- Enclosing class:
EncryptionState
-
Method Summary
Modifier and TypeMethodDescriptiondefault EncryptionState.BuilderdefaultValue(Consumer<Unit.Builder> defaultValue) Policy store data is encrypted using AWS owned encryption keys.defaultValue(Unit defaultValue) Policy store data is encrypted using AWS owned encryption keys.default EncryptionState.BuilderkmsEncryptionState(Consumer<KmsEncryptionState.Builder> kmsEncryptionState) The KMS encryption settings currently configured for this policy store to encrypt data with.kmsEncryptionState(KmsEncryptionState kmsEncryptionState) The KMS encryption settings currently configured 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
-
kmsEncryptionState
The KMS encryption settings currently configured for this policy store to encrypt data with. It contains the customer-managed KMS key, and a user-defined encryption context.
- Parameters:
kmsEncryptionState- The KMS encryption settings currently configured for this policy store to encrypt data with. It contains 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.
-
kmsEncryptionState
default EncryptionState.Builder kmsEncryptionState(Consumer<KmsEncryptionState.Builder> kmsEncryptionState) The KMS encryption settings currently configured for this policy store to encrypt data with. It contains the customer-managed KMS key, and a user-defined encryption context.
This is a convenience method that creates an instance of theKmsEncryptionState.Builderavoiding the need to create one manually viaKmsEncryptionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokmsEncryptionState(KmsEncryptionState).- Parameters:
kmsEncryptionState- a consumer that will call methods onKmsEncryptionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultValue
Policy store data is encrypted using AWS owned encryption keys.
- Parameters:
defaultValue- Policy store data is encrypted using AWS owned encryption keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
Policy store data is encrypted using AWS owned encryption keys.
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:
-