@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) |
KeyMetadata |
getKeyMetadata()
Metadata associated with the KMS key.
|
int |
hashCode() |
void |
setKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the KMS key.
|
String |
toString()
Returns a string representation of this object.
|
CreateKeyResult |
withKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the KMS key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the KMS key.
keyMetadata - Metadata associated with the KMS key.public KeyMetadata getKeyMetadata()
Metadata associated with the KMS key.
public CreateKeyResult withKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the KMS key.
keyMetadata - Metadata associated with the KMS key.public String toString()
toString in class ObjectObject.toString()public CreateKeyResult clone()