@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about the configuration for encryption at rest for the OpenSearch domain.
Constructor and Description |
---|
AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails |
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.
|
AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails |
withEnabled(Boolean enabled)
Whether encryption at rest is enabled.
|
AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails |
withKmsKeyId(String kmsKeyId)
The KMS key ID.
|
public AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails()
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 AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails 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.
kmsKeyId
- The KMS key ID.public String getKmsKeyId()
The KMS key ID.
public AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails withKmsKeyId(String kmsKeyId)
The KMS key ID.
kmsKeyId
- The KMS key ID.public String toString()
toString
in class Object
Object.toString()
public AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.