@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 customer master key (CMK) used for encryption, if applicable.
|
String |
getStatus()
The encryption status.
|
String |
getType()
The type of encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKeyId(String keyId)
The ID of the customer master key (CMK) 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; useful for testing and debugging.
|
EncryptionConfig |
withKeyId(String keyId)
The ID of the customer master key (CMK) 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 customer master key (CMK) used for encryption, if applicable.
keyId - The ID of the customer master key (CMK) used for encryption, if applicable.public String getKeyId()
The ID of the customer master key (CMK) used for encryption, if applicable.
public EncryptionConfig withKeyId(String keyId)
The ID of the customer master key (CMK) used for encryption, if applicable.
keyId - The ID of the customer master key (CMK) used for encryption, if applicable.public void setStatus(String status)
The encryption status. After modifying encryption configuration with PutEncryptionConfig, the status can
be UPDATING for up to one hour before X-Ray starts encrypting data with the new key.
status - The encryption status. After modifying encryption configuration with PutEncryptionConfig, the
status can be UPDATING for up to one hour before X-Ray starts encrypting data with the new
key.EncryptionStatuspublic String getStatus()
The encryption status. After modifying encryption configuration with PutEncryptionConfig, the status can
be UPDATING for up to one hour before X-Ray starts encrypting data with the new key.
UPDATING for up to one hour before X-Ray starts encrypting data with the new
key.EncryptionStatuspublic EncryptionConfig withStatus(String status)
The encryption status. After modifying encryption configuration with PutEncryptionConfig, the status can
be UPDATING for up to one hour before X-Ray starts encrypting data with the new key.
status - The encryption status. After modifying encryption configuration with PutEncryptionConfig, the
status can be UPDATING for up to one hour before X-Ray starts encrypting data with the new
key.EncryptionStatuspublic EncryptionConfig withStatus(EncryptionStatus status)
The encryption status. After modifying encryption configuration with PutEncryptionConfig, the status can
be UPDATING for up to one hour before X-Ray starts encrypting data with the new key.
status - The encryption status. After modifying encryption configuration with PutEncryptionConfig, the
status can be UPDATING for up to one hour before X-Ray starts encrypting data with the new
key.EncryptionStatuspublic void setType(String type)
The type of encryption. Set to KMS for encryption with CMKs. Set to NONE for default
encryption.
type - The type of encryption. Set to KMS for encryption with CMKs. Set to NONE for
default encryption.EncryptionTypepublic String getType()
The type of encryption. Set to KMS for encryption with CMKs. Set to NONE for default
encryption.
KMS for encryption with CMKs. Set to NONE for
default encryption.EncryptionTypepublic EncryptionConfig withType(String type)
The type of encryption. Set to KMS for encryption with CMKs. Set to NONE for default
encryption.
type - The type of encryption. Set to KMS for encryption with CMKs. Set to NONE for
default encryption.EncryptionTypepublic EncryptionConfig withType(EncryptionType type)
The type of encryption. Set to KMS for encryption with CMKs. Set to NONE for default
encryption.
type - The type of encryption. Set to KMS for encryption with CMKs. Set to NONE for
default encryption.EncryptionTypepublic String toString()
toString in class ObjectObject.toString()public EncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.