@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElasticsearchDomainEncryptionAtRestOptions extends Object implements Serializable, Cloneable, StructuredPojo
Details about the configuration for encryption at rest.
Constructor and Description |
---|
AwsElasticsearchDomainEncryptionAtRestOptions() |
Modifier and Type | Method and Description |
---|---|
AwsElasticsearchDomainEncryptionAtRestOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Whether encryption at rest is enabled.
|
String |
getKmsKeyId()
The KMS key ID.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether encryption at rest is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Whether encryption at rest is enabled.
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key ID.
|
String |
toString()
Returns a string representation of this object.
|
AwsElasticsearchDomainEncryptionAtRestOptions |
withEnabled(Boolean enabled)
Whether encryption at rest is enabled.
|
AwsElasticsearchDomainEncryptionAtRestOptions |
withKmsKeyId(String kmsKeyId)
The KMS key ID.
|
public AwsElasticsearchDomainEncryptionAtRestOptions()
public void setEnabled(Boolean enabled)
Whether encryption at rest is enabled.
enabled
- Whether encryption at rest is enabled.public Boolean getEnabled()
Whether encryption at rest is enabled.
public AwsElasticsearchDomainEncryptionAtRestOptions withEnabled(Boolean enabled)
Whether encryption at rest is enabled.
enabled
- Whether encryption at rest is enabled.public Boolean isEnabled()
Whether encryption at rest is enabled.
public void setKmsKeyId(String kmsKeyId)
The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.
kmsKeyId
- The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.public String getKmsKeyId()
The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.
public AwsElasticsearchDomainEncryptionAtRestOptions withKmsKeyId(String kmsKeyId)
The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.
kmsKeyId
- The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a.public String toString()
toString
in class Object
Object.toString()
public AwsElasticsearchDomainEncryptionAtRestOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.