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 interface
EncryptionAtRestOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionAtRestOptions.Builder
builder()
Boolean
enabled()
True to enable encryption at rest.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
kmsKeyId()
The KMS key ID.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends EncryptionAtRestOptions.Builder>
serializableBuilderClass()
EncryptionAtRestOptions.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-