@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsXrayEncryptionConfigDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the encryption configuration for X-Ray.
Constructor and Description |
---|
AwsXrayEncryptionConfigDetails() |
Modifier and Type | Method and Description |
---|---|
AwsXrayEncryptionConfigDetails |
clone() |
boolean |
equals(Object obj) |
String |
getKeyId()
The identifier of the KMS key that is used for encryption.
|
String |
getStatus()
The current status of the encryption configuration.
|
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 identifier of the KMS key that is used for encryption.
|
void |
setStatus(String status)
The current status of the encryption configuration.
|
void |
setType(String type)
The type of encryption.
|
String |
toString()
Returns a string representation of this object.
|
AwsXrayEncryptionConfigDetails |
withKeyId(String keyId)
The identifier of the KMS key that is used for encryption.
|
AwsXrayEncryptionConfigDetails |
withStatus(String status)
The current status of the encryption configuration.
|
AwsXrayEncryptionConfigDetails |
withType(String type)
The type of encryption.
|
public void setKeyId(String keyId)
The identifier of the KMS key that is used for encryption. Provided if Type
is KMS
.
keyId
- The identifier of the KMS key that is used for encryption. Provided if Type
is
KMS
.public String getKeyId()
The identifier of the KMS key that is used for encryption. Provided if Type
is KMS
.
Type
is
KMS
.public AwsXrayEncryptionConfigDetails withKeyId(String keyId)
The identifier of the KMS key that is used for encryption. Provided if Type
is KMS
.
keyId
- The identifier of the KMS key that is used for encryption. Provided if Type
is
KMS
.public void setStatus(String status)
The current status of the encryption configuration. Valid values are ACTIVE
or UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new encryption.
status
- The current status of the encryption configuration. Valid values are ACTIVE
or
UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new
encryption.
public String getStatus()
The current status of the encryption configuration. Valid values are ACTIVE
or UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new encryption.
ACTIVE
or
UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new
encryption.
public AwsXrayEncryptionConfigDetails withStatus(String status)
The current status of the encryption configuration. Valid values are ACTIVE
or UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new encryption.
status
- The current status of the encryption configuration. Valid values are ACTIVE
or
UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new
encryption.
public void setType(String type)
The type of encryption. KMS
indicates that the encryption uses KMS keys. NONE
indicates
the default encryption.
type
- The type of encryption. KMS
indicates that the encryption uses KMS keys. NONE
indicates the default encryption.public String getType()
The type of encryption. KMS
indicates that the encryption uses KMS keys. NONE
indicates
the default encryption.
KMS
indicates that the encryption uses KMS keys. NONE
indicates the default encryption.public AwsXrayEncryptionConfigDetails withType(String type)
The type of encryption. KMS
indicates that the encryption uses KMS keys. NONE
indicates
the default encryption.
type
- The type of encryption. KMS
indicates that the encryption uses KMS keys. NONE
indicates the default encryption.public String toString()
toString
in class Object
Object.toString()
public AwsXrayEncryptionConfigDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.