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) This is the default encryption state.defaultValue(Unit defaultValue) This is the default encryption state.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
This is the default encryption state. The policy store is encrypted using an Amazon Web Services owned key.
- Parameters:
defaultValue- This is the default encryption state. The policy store is encrypted using an Amazon Web Services owned key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
This is the default encryption state. The policy store is encrypted using an Amazon Web Services owned key.
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:
-