@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KMSKeyDetails extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains:
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service
(KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
The ID of the Amazon Web Services KMS key that is associated with a repository association.
| Constructor and Description |
|---|
KMSKeyDetails () |
| Modifier and Type | Method and Description |
|---|---|
KMSKeyDetails |
clone () |
boolean |
equals (Object obj) |
String |
getEncryptionOption ()
The encryption option for a repository association.
|
String |
getKMSKeyId ()
The ID of the Amazon Web Services KMS key that is associated with a repository association.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEncryptionOption (String encryptionOption)
The encryption option for a repository association.
|
void |
setKMSKeyId (String kMSKeyId)
The ID of the Amazon Web Services KMS key that is associated with a repository association.
|
String |
toString ()
Returns a string representation of this object.
|
KMSKeyDetails |
withEncryptionOption (EncryptionOption encryptionOption)
The encryption option for a repository association.
|
KMSKeyDetails |
withEncryptionOption (String encryptionOption)
The encryption option for a repository association.
|
KMSKeyDetails |
withKMSKeyId (String kMSKeyId)
The ID of the Amazon Web Services KMS key that is associated with a repository association.
|
public KMSKeyDetails()
public void setKMSKeyId(String kMSKeyId)
The ID of the Amazon Web Services KMS key that is associated with a repository association.
kMSKeyId - The ID of the Amazon Web Services KMS key that is associated with a repository association.public String getKMSKeyId()
The ID of the Amazon Web Services KMS key that is associated with a repository association.
public KMSKeyDetails withKMSKeyId(String kMSKeyId)
The ID of the Amazon Web Services KMS key that is associated with a repository association.
kMSKeyId - The ID of the Amazon Web Services KMS key that is associated with a repository association.public void setEncryptionOption(String encryptionOption)
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management
Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
encryptionOption - The encryption option for a repository association. It is either owned by Amazon Web Services Key
Management Service (KMS) (AWS_OWNED_CMK) or customer managed (
CUSTOMER_MANAGED_CMK).EncryptionOption public String getEncryptionOption()
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management
Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
AWS_OWNED_CMK) or customer managed (
CUSTOMER_MANAGED_CMK).EncryptionOption public KMSKeyDetails withEncryptionOption(String encryptionOption)
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management
Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
encryptionOption - The encryption option for a repository association. It is either owned by Amazon Web Services Key
Management Service (KMS) (AWS_OWNED_CMK) or customer managed (
CUSTOMER_MANAGED_CMK).EncryptionOption public KMSKeyDetails withEncryptionOption(EncryptionOption encryptionOption)
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management
Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
encryptionOption - The encryption option for a repository association. It is either owned by Amazon Web Services Key
Management Service (KMS) (AWS_OWNED_CMK) or customer managed (
CUSTOMER_MANAGED_CMK).EncryptionOption public String toString()
toString in class Object Object.toString() public KMSKeyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.