Interface EncryptionAtRestOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionAtRestOptions.Builder,,EncryptionAtRestOptions> SdkBuilder<EncryptionAtRestOptions.Builder,,EncryptionAtRestOptions> SdkPojo
- Enclosing class:
EncryptionAtRestOptions
-
Method Summary
Modifier and TypeMethodDescriptionTrue to enable encryption at rest.encryptionMode(String encryptionMode) The type of encryption at rest applied to the domain's data.encryptionMode(EncryptionMode encryptionMode) The type of encryption at rest applied to the domain's data.The KMS key ID.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
-
enabled
True to enable encryption at rest.
- Parameters:
enabled- True to enable encryption at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The KMS key ID. Takes the form
1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.- Parameters:
kmsKeyId- The KMS key ID. Takes the form1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMode
The type of encryption at rest applied to the domain's data. Valid values are
DISKandNATIVE.DISKis the default and uses volume-level encryption.NATIVEuses engine-native, index-level encryption and requires encryption at rest to be enabled and OpenSearch version 3.3 or later. After the mode is set toNATIVE, it can't be changed back toDISK.- Parameters:
encryptionMode- The type of encryption at rest applied to the domain's data. Valid values areDISKandNATIVE.DISKis the default and uses volume-level encryption.NATIVEuses engine-native, index-level encryption and requires encryption at rest to be enabled and OpenSearch version 3.3 or later. After the mode is set toNATIVE, it can't be changed back toDISK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionMode
The type of encryption at rest applied to the domain's data. Valid values are
DISKandNATIVE.DISKis the default and uses volume-level encryption.NATIVEuses engine-native, index-level encryption and requires encryption at rest to be enabled and OpenSearch version 3.3 or later. After the mode is set toNATIVE, it can't be changed back toDISK.- Parameters:
encryptionMode- The type of encryption at rest applied to the domain's data. Valid values areDISKandNATIVE.DISKis the default and uses volume-level encryption.NATIVEuses engine-native, index-level encryption and requires encryption at rest to be enabled and OpenSearch version 3.3 or later. After the mode is set toNATIVE, it can't be changed back toDISK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-