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 Modifier and Type Method Description EncryptionConfiguration.BuildercmkArn(String cmkArn)The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption.EncryptionConfiguration.Builderencrypted(Boolean encrypted)To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
encrypted
EncryptionConfiguration.Builder encrypted(Boolean encrypted)
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
- Parameters:
encrypted- To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cmkArn
EncryptionConfiguration.Builder cmkArn(String cmkArn)
The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
- Parameters:
cmkArn- The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-