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