@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 respository 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 respository 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 respository 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 respository association. | 
public void setKMSKeyId(String kMSKeyId)
The ID of the Amazon Web Services KMS key that is associated with a respository association.
kMSKeyId - The ID of the Amazon Web Services KMS key that is associated with a respository association.public String getKMSKeyId()
The ID of the Amazon Web Services KMS key that is associated with a respository association.
public KMSKeyDetails withKMSKeyId(String kMSKeyId)
The ID of the Amazon Web Services KMS key that is associated with a respository association.
kMSKeyId - The ID of the Amazon Web Services KMS key that is associated with a respository 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).EncryptionOptionpublic 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).EncryptionOptionpublic 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).EncryptionOptionpublic 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).EncryptionOptionpublic String toString()
toString in class ObjectObject.toString()public KMSKeyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.