@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeySummary extends Object implements Serializable, Cloneable, StructuredPojo
Metadata about an Amazon Web Services Payment Cryptography key.
| Constructor and Description |
|---|
KeySummary() |
| Modifier and Type | Method and Description |
|---|---|
KeySummary |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Specifies whether the key is enabled.
|
Boolean |
getExportable()
Specifies whether the key is exportable.
|
String |
getKeyArn()
The Amazon Resource Name (ARN) of the key.
|
KeyAttributes |
getKeyAttributes()
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
|
String |
getKeyCheckValue()
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.
|
String |
getKeyState()
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether the key is enabled.
|
Boolean |
isExportable()
Specifies whether the key is exportable.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEnabled(Boolean enabled)
Specifies whether the key is enabled.
|
void |
setExportable(Boolean exportable)
Specifies whether the key is exportable.
|
void |
setKeyArn(String keyArn)
The Amazon Resource Name (ARN) of the key.
|
void |
setKeyAttributes(KeyAttributes keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
|
void |
setKeyCheckValue(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.
|
void |
setKeyState(String keyState)
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
|
String |
toString()
Returns a string representation of this object.
|
KeySummary |
withEnabled(Boolean enabled)
Specifies whether the key is enabled.
|
KeySummary |
withExportable(Boolean exportable)
Specifies whether the key is exportable.
|
KeySummary |
withKeyArn(String keyArn)
The Amazon Resource Name (ARN) of the key.
|
KeySummary |
withKeyAttributes(KeyAttributes keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.
|
KeySummary |
withKeyCheckValue(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.
|
KeySummary |
withKeyState(KeyState keyState)
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
|
KeySummary |
withKeyState(String keyState)
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
|
public void setKeyArn(String keyArn)
The Amazon Resource Name (ARN) of the key.
keyArn - The Amazon Resource Name (ARN) of the key.public String getKeyArn()
The Amazon Resource Name (ARN) of the key.
public KeySummary withKeyArn(String keyArn)
The Amazon Resource Name (ARN) of the key.
keyArn - The Amazon Resource Name (ARN) of the key.public void setKeyState(String keyState)
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
keyState - The state of an Amazon Web Services Payment Cryptography that is being created or deleted.KeyStatepublic String getKeyState()
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
KeyStatepublic KeySummary withKeyState(String keyState)
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
keyState - The state of an Amazon Web Services Payment Cryptography that is being created or deleted.KeyStatepublic KeySummary withKeyState(KeyState keyState)
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
keyState - The state of an Amazon Web Services Payment Cryptography that is being created or deleted.KeyStatepublic void setKeyAttributes(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.
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 KeyAttributes getKeyAttributes()
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 KeySummary withKeyAttributes(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.
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 void setKeyCheckValue(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.
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.public String getKeyCheckValue()
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.
public KeySummary withKeyCheckValue(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.
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.public void setExportable(Boolean exportable)
Specifies whether the key is exportable. This data is immutable after the key is created.
exportable - Specifies whether the key is exportable. This data is immutable after the key is created.public Boolean getExportable()
Specifies whether the key is exportable. This data is immutable after the key is created.
public KeySummary withExportable(Boolean exportable)
Specifies whether the key is exportable. This data is immutable after the key is created.
exportable - Specifies whether the key is exportable. This data is immutable after the key is created.public Boolean isExportable()
Specifies whether the key is exportable. This data is immutable after the key is created.
public void setEnabled(Boolean enabled)
Specifies whether the key is enabled.
enabled - Specifies whether the key is enabled.public Boolean getEnabled()
Specifies whether the key is enabled.
public KeySummary withEnabled(Boolean enabled)
Specifies whether the key is enabled.
enabled - Specifies whether the key is enabled.public Boolean isEnabled()
Specifies whether the key is enabled.
public String toString()
toString in class ObjectObject.toString()public KeySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.