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 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; useful for testing and debugging.CreateKeyResult
withKeyMetadata(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateKeyResult clone()
-
-