@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionAtRestOptions extends Object implements Serializable, Cloneable, StructuredPojo
Specifies encryption at rest options.
Constructor and Description |
---|
EncryptionAtRestOptions() |
Modifier and Type | Method and Description |
---|---|
EncryptionAtRestOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
The option to enable encryption at rest.
|
String |
getKmsKeyId()
The KMS key ID for encryption at rest options.
|
int |
hashCode() |
Boolean |
isEnabled()
The option to enable encryption at rest.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
The option to enable encryption at rest.
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key ID for encryption at rest options.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionAtRestOptions |
withEnabled(Boolean enabled)
The option to enable encryption at rest.
|
EncryptionAtRestOptions |
withKmsKeyId(String kmsKeyId)
The KMS key ID for encryption at rest options.
|
public void setEnabled(Boolean enabled)
The option to enable encryption at rest.
enabled
- The option to enable encryption at rest.public Boolean getEnabled()
The option to enable encryption at rest.
public EncryptionAtRestOptions withEnabled(Boolean enabled)
The option to enable encryption at rest.
enabled
- The option to enable encryption at rest.public Boolean isEnabled()
The option to enable encryption at rest.
public void setKmsKeyId(String kmsKeyId)
The KMS key ID for encryption at rest options.
kmsKeyId
- The KMS key ID for encryption at rest options.public String getKmsKeyId()
The KMS key ID for encryption at rest options.
public EncryptionAtRestOptions withKmsKeyId(String kmsKeyId)
The KMS key ID for encryption at rest options.
kmsKeyId
- The KMS key ID for encryption at rest options.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.