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