@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionAtRestOptions extends Object implements Serializable, Cloneable, StructuredPojo
Options to control how OpenSearch encrypts buffer data.
| Constructor and Description |
|---|
EncryptionAtRestOptions() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionAtRestOptions |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyArn()
The ARN of the KMS key used to encrypt buffer data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt buffer data.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionAtRestOptions |
withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt buffer data.
|
public void setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt buffer data. By default, data is encrypted using an Amazon Web Services owned key.
kmsKeyArn - The ARN of the KMS key used to encrypt buffer data. By default, data is encrypted using an Amazon Web
Services owned key.public String getKmsKeyArn()
The ARN of the KMS key used to encrypt buffer data. By default, data is encrypted using an Amazon Web Services owned key.
public EncryptionAtRestOptions withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt buffer data. By default, data is encrypted using an Amazon Web Services owned key.
kmsKeyArn - The ARN of the KMS key used to encrypt buffer data. By default, data is encrypted using an Amazon Web
Services owned key.public String toString()
toString in class ObjectObject.toString()public EncryptionAtRestOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.