@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfig extends Object implements Serializable, Cloneable, StructuredPojo
A configuration document that specifies encryption configuration settings.
| Constructor and Description |
|---|
EncryptionConfig() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getKeyId()
The ID of the KMS key used for encryption, if applicable.
|
String |
getStatus()
The encryption status.
|
String |
getType()
The type of encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKeyId(String keyId)
The ID of the KMS key used for encryption, if applicable.
|
void |
setStatus(String status)
The encryption status.
|
void |
setType(String type)
The type of encryption.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionConfig |
withKeyId(String keyId)
The ID of the KMS key used for encryption, if applicable.
|
EncryptionConfig |
withStatus(EncryptionStatus status)
The encryption status.
|
EncryptionConfig |
withStatus(String status)
The encryption status.
|
EncryptionConfig |
withType(EncryptionType type)
The type of encryption.
|
EncryptionConfig |
withType(String type)
The type of encryption.
|
public void setKeyId(String keyId)
The ID of the KMS key used for encryption, if applicable.
keyId - The ID of the KMS key used for encryption, if applicable.public String getKeyId()
The ID of the KMS key used for encryption, if applicable.
public EncryptionConfig withKeyId(String keyId)
The ID of the KMS key used for encryption, if applicable.
keyId - The ID of the KMS key used for encryption, if applicable.public void setStatus(String status)
The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of
the new and old settings.
status - The encryption status. While the status is UPDATING, X-Ray may encrypt data with a
combination of the new and old settings.EncryptionStatuspublic String getStatus()
The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of
the new and old settings.
UPDATING, X-Ray may encrypt data with a
combination of the new and old settings.EncryptionStatuspublic EncryptionConfig withStatus(String status)
The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of
the new and old settings.
status - The encryption status. While the status is UPDATING, X-Ray may encrypt data with a
combination of the new and old settings.EncryptionStatuspublic EncryptionConfig withStatus(EncryptionStatus status)
The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of
the new and old settings.
status - The encryption status. While the status is UPDATING, X-Ray may encrypt data with a
combination of the new and old settings.EncryptionStatuspublic void setType(String type)
The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.
type - The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.EncryptionTypepublic String getType()
The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.
KMS for encryption with KMS keys. Set to NONE
for default encryption.EncryptionTypepublic EncryptionConfig withType(String type)
The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.
type - The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.EncryptionTypepublic EncryptionConfig withType(EncryptionType type)
The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.
type - The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.EncryptionTypepublic String toString()
toString in class ObjectObject.toString()public EncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.