@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionAtRestOptions extends Object implements Serializable, Cloneable, StructuredPojo
Options to control how OpenSearch encrypts all data-at-rest.
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 data-at-rest in OpenSearch Ingestion.
|
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 data-at-rest in OpenSearch Ingestion.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionAtRestOptions |
withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data-at-rest in OpenSearch Ingestion.
|
public void setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data-at-rest in OpenSearch Ingestion. By default, data is encrypted using an AWS owned key.
kmsKeyArn
- The ARN of the KMS key used to encrypt data-at-rest in OpenSearch Ingestion. By default, data is encrypted
using an AWS owned key.public String getKmsKeyArn()
The ARN of the KMS key used to encrypt data-at-rest in OpenSearch Ingestion. By default, data is encrypted using an AWS owned key.
public EncryptionAtRestOptions withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data-at-rest in OpenSearch Ingestion. By default, data is encrypted using an AWS owned key.
kmsKeyArn
- The ARN of the KMS key used to encrypt data-at-rest in OpenSearch Ingestion. By default, data is encrypted
using an AWS owned key.public String toString()
toString
in class Object
Object.toString()
public EncryptionAtRestOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.