Package com.amazonaws.services.kms.model
Class CreateKeyResult
- java.lang.Object
-
- com.amazonaws.services.kms.model.CreateKeyResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateKeyResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateKeyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateKeyResultclone()booleanequals(Object obj)KeyMetadatagetKeyMetadata()Metadata associated with the CMK.inthashCode()voidsetKeyMetadata(KeyMetadata keyMetadata)Metadata associated with the CMK.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateKeyResultwithKeyMetadata(KeyMetadata keyMetadata)Metadata associated with the CMK.
-
-
-
Method Detail
-
setKeyMetadata
public void setKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the CMK.
- Parameters:
keyMetadata- Metadata associated with the CMK.
-
getKeyMetadata
public KeyMetadata getKeyMetadata()
Metadata associated with the CMK.
- Returns:
- Metadata associated with the CMK.
-
withKeyMetadata
public CreateKeyResult withKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the CMK.
- Parameters:
keyMetadata- Metadata associated with the CMK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateKeyResult clone()
-
-