@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
RestoreKeyResult() |
| Modifier and Type | Method and Description |
|---|---|
RestoreKeyResult |
clone() |
boolean |
equals(Object obj) |
Key |
getKey()
The key material of the restored key.
|
int |
hashCode() |
void |
setKey(Key key)
The key material of the restored key.
|
String |
toString()
Returns a string representation of this object.
|
RestoreKeyResult |
withKey(Key key)
The key material of the restored key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setKey(Key key)
The key material of the restored key. The KeyState will change to CREATE_COMPLETE and
value for DeletePendingTimestamp gets removed.
key - The key material of the restored key. The KeyState will change to
CREATE_COMPLETE and value for DeletePendingTimestamp gets removed.public Key getKey()
The key material of the restored key. The KeyState will change to CREATE_COMPLETE and
value for DeletePendingTimestamp gets removed.
KeyState will change to
CREATE_COMPLETE and value for DeletePendingTimestamp gets removed.public RestoreKeyResult withKey(Key key)
The key material of the restored key. The KeyState will change to CREATE_COMPLETE and
value for DeletePendingTimestamp gets removed.
key - The key material of the restored key. The KeyState will change to
CREATE_COMPLETE and value for DeletePendingTimestamp gets removed.public String toString()
toString in class ObjectObject.toString()public RestoreKeyResult clone()