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