@Generated(value="software.amazon.awssdk:codegen") public final class KMSKeyDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KMSKeyDetails.Builder,KMSKeyDetails>
An object that contains:
The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (
AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
The ID of the AWS KMS key that is associated with a respository association.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KMSKeyDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static KMSKeyDetails.Builder |
builder() |
EncryptionOption |
encryptionOption()
The encryption option for a repository association.
|
String |
encryptionOptionAsString()
The encryption option for a repository association.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The ID of the AWS KMS key that is associated with a respository association.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends KMSKeyDetails.Builder> |
serializableBuilderClass() |
KMSKeyDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String kmsKeyId()
The ID of the AWS KMS key that is associated with a respository association.
public final EncryptionOption encryptionOption()
The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (
AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
If the service returns an enum value that is not available in the current SDK version, encryptionOption
will return EncryptionOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from encryptionOptionAsString().
AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).EncryptionOptionpublic final String encryptionOptionAsString()
The encryption option for a repository association. It is either owned by AWS Key Management Service (KMS) (
AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
If the service returns an enum value that is not available in the current SDK version, encryptionOption
will return EncryptionOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from encryptionOptionAsString().
AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).EncryptionOptionpublic KMSKeyDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<KMSKeyDetails.Builder,KMSKeyDetails>public static KMSKeyDetails.Builder builder()
public static Class<? extends KMSKeyDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.