@Generated(value="software.amazon.awssdk:codegen") public final class KeySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KeySummary.Builder,KeySummary>
Metadata about an Amazon Web Services Payment Cryptography key.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KeySummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static KeySummary.Builder |
builder() |
Boolean |
enabled()
Specifies whether the key is enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
exportable()
Specifies whether the key is exportable.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyArn()
The Amazon Resource Name (ARN) of the key.
|
KeyAttributes |
keyAttributes()
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
|
String |
keyCheckValue()
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that
a key has changed.
|
KeyState |
keyState()
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
|
String |
keyStateAsString()
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends KeySummary.Builder> |
serializableBuilderClass() |
KeySummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean enabled()
Specifies whether the key is enabled.
public final Boolean exportable()
Specifies whether the key is exportable. This data is immutable after the key is created.
public final String keyArn()
The Amazon Resource Name (ARN) of the key.
public final KeyAttributes keyAttributes()
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
public final String keyCheckValue()
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
public final KeyState keyState()
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
If the service returns an enum value that is not available in the current SDK version, keyState will
return KeyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyStateAsString().
KeyStatepublic final String keyStateAsString()
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
If the service returns an enum value that is not available in the current SDK version, keyState will
return KeyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyStateAsString().
KeyStatepublic KeySummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<KeySummary.Builder,KeySummary>public static KeySummary.Builder builder()
public static Class<? extends KeySummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.