Class EncryptionAtRestOptions
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.EncryptionAtRestOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncryptionAtRestOptions.Builder,EncryptionAtRestOptions>
@Generated("software.amazon.awssdk:codegen") public final class EncryptionAtRestOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionAtRestOptions.Builder,EncryptionAtRestOptions>
Specifies whether the domain should encrypt data at rest, and if so, the Key Management Service (KMS) key to use. Can only be used when creating a new domain or enabling encryption at rest for the first time on an existing domain. You can't modify this parameter after it's already been specified.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptionAtRestOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionAtRestOptions.Builderbuilder()Booleanenabled()True to enable encryption at rest.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The KMS key ID.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EncryptionAtRestOptions.Builder>serializableBuilderClass()EncryptionAtRestOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enabled
public final Boolean enabled()
True to enable encryption at rest.
- Returns:
- True to enable encryption at rest.
-
kmsKeyId
public final String kmsKeyId()
The KMS key ID. Takes the form
1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.- Returns:
- The KMS key ID. Takes the form
1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.
-
toBuilder
public EncryptionAtRestOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptionAtRestOptions.Builder,EncryptionAtRestOptions>
-
builder
public static EncryptionAtRestOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptionAtRestOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-