@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ImportKeyResult() |
| Modifier and Type | Method and Description |
|---|---|
ImportKeyResult |
clone() |
boolean |
equals(Object obj) |
Key |
getKey()
The
KeyARN of the key material imported within Amazon Web Services Payment Cryptography. |
int |
hashCode() |
void |
setKey(Key key)
The
KeyARN of the key material imported within Amazon Web Services Payment Cryptography. |
String |
toString()
Returns a string representation of this object.
|
ImportKeyResult |
withKey(Key key)
The
KeyARN of the key material imported within Amazon Web Services Payment Cryptography. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setKey(Key key)
The KeyARN of the key material imported within Amazon Web Services Payment Cryptography.
key - The KeyARN of the key material imported within Amazon Web Services Payment Cryptography.public Key getKey()
The KeyARN of the key material imported within Amazon Web Services Payment Cryptography.
KeyARN of the key material imported within Amazon Web Services Payment Cryptography.public ImportKeyResult withKey(Key key)
The KeyARN of the key material imported within Amazon Web Services Payment Cryptography.
key - The KeyARN of the key material imported within Amazon Web Services Payment Cryptography.public String toString()
toString in class ObjectObject.toString()public ImportKeyResult clone()