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