@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionAtRest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the encryption-at-rest configuration for the Data Catalog.
Constructor and Description |
---|
EncryptionAtRest() |
Modifier and Type | Method and Description |
---|---|
EncryptionAtRest |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogEncryptionMode()
The encryption-at-rest mode for encrypting Data Catalog data.
|
String |
getCatalogEncryptionServiceRole()
The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.
|
String |
getSseAwsKmsKeyId()
The ID of the KMS key to use for encryption at rest.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogEncryptionMode(String catalogEncryptionMode)
The encryption-at-rest mode for encrypting Data Catalog data.
|
void |
setCatalogEncryptionServiceRole(String catalogEncryptionServiceRole)
The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.
|
void |
setSseAwsKmsKeyId(String sseAwsKmsKeyId)
The ID of the KMS key to use for encryption at rest.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionAtRest |
withCatalogEncryptionMode(CatalogEncryptionMode catalogEncryptionMode)
The encryption-at-rest mode for encrypting Data Catalog data.
|
EncryptionAtRest |
withCatalogEncryptionMode(String catalogEncryptionMode)
The encryption-at-rest mode for encrypting Data Catalog data.
|
EncryptionAtRest |
withCatalogEncryptionServiceRole(String catalogEncryptionServiceRole)
The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.
|
EncryptionAtRest |
withSseAwsKmsKeyId(String sseAwsKmsKeyId)
The ID of the KMS key to use for encryption at rest.
|
public void setCatalogEncryptionMode(String catalogEncryptionMode)
The encryption-at-rest mode for encrypting Data Catalog data.
catalogEncryptionMode
- The encryption-at-rest mode for encrypting Data Catalog data.CatalogEncryptionMode
public String getCatalogEncryptionMode()
The encryption-at-rest mode for encrypting Data Catalog data.
CatalogEncryptionMode
public EncryptionAtRest withCatalogEncryptionMode(String catalogEncryptionMode)
The encryption-at-rest mode for encrypting Data Catalog data.
catalogEncryptionMode
- The encryption-at-rest mode for encrypting Data Catalog data.CatalogEncryptionMode
public EncryptionAtRest withCatalogEncryptionMode(CatalogEncryptionMode catalogEncryptionMode)
The encryption-at-rest mode for encrypting Data Catalog data.
catalogEncryptionMode
- The encryption-at-rest mode for encrypting Data Catalog data.CatalogEncryptionMode
public void setSseAwsKmsKeyId(String sseAwsKmsKeyId)
The ID of the KMS key to use for encryption at rest.
sseAwsKmsKeyId
- The ID of the KMS key to use for encryption at rest.public String getSseAwsKmsKeyId()
The ID of the KMS key to use for encryption at rest.
public EncryptionAtRest withSseAwsKmsKeyId(String sseAwsKmsKeyId)
The ID of the KMS key to use for encryption at rest.
sseAwsKmsKeyId
- The ID of the KMS key to use for encryption at rest.public void setCatalogEncryptionServiceRole(String catalogEncryptionServiceRole)
The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.
catalogEncryptionServiceRole
- The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.public String getCatalogEncryptionServiceRole()
The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.
public EncryptionAtRest withCatalogEncryptionServiceRole(String catalogEncryptionServiceRole)
The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.
catalogEncryptionServiceRole
- The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.public String toString()
toString
in class Object
Object.toString()
public EncryptionAtRest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.