@Generated(value="software.amazon.awssdk:codegen") public final class AwsKmsKeyDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsKmsKeyDetails.Builder,AwsKmsKeyDetails>
Contains metadata about a customer master key (CMK).
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsKmsKeyDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awsAccountId()
The twelve-digit account ID of the AWS account that owns the CMK.
|
static AwsKmsKeyDetails.Builder |
builder() |
Double |
creationDate()
Indicates when the CMK was created.
|
String |
description()
A description of the key.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyId()
The globally unique identifier for the CMK.
|
String |
keyManager()
The manager of the CMK.
|
String |
keyState()
The state of the CMK.
|
String |
origin()
The source of the CMK's key material.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsKmsKeyDetails.Builder> |
serializableBuilderClass() |
AwsKmsKeyDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String awsAccountId()
The twelve-digit account ID of the AWS account that owns the CMK.
public final Double creationDate()
Indicates when the CMK was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public final String keyId()
The globally unique identifier for the CMK.
public final String keyManager()
The manager of the CMK. CMKs in your AWS account are either customer managed or AWS managed.
public final String keyState()
The state of the CMK.
public final String origin()
The source of the CMK's key material.
When this value is AWS_KMS, AWS KMS created the key material.
When this value is EXTERNAL, the key material was imported from your existing key management
infrastructure or the CMK lacks key material.
When this value is AWS_CLOUDHSM, the key material was created in the AWS CloudHSM cluster associated
with a custom key store.
When this value is AWS_KMS, AWS KMS created the key material.
When this value is EXTERNAL, the key material was imported from your existing key management
infrastructure or the CMK lacks key material.
When this value is AWS_CLOUDHSM, the key material was created in the AWS CloudHSM cluster
associated with a custom key store.
public final String description()
A description of the key.
public AwsKmsKeyDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsKmsKeyDetails.Builder,AwsKmsKeyDetails>public static AwsKmsKeyDetails.Builder builder()
public static Class<? extends AwsKmsKeyDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.