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