public class CreateKeyResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private KeyMetadata |
keyMetadata
Metadata associated with the CMK.
|
Constructor and Description |
---|
CreateKeyResult() |
Modifier and Type | Method and Description |
---|---|
CreateKeyResult |
clone() |
boolean |
equals(java.lang.Object obj) |
KeyMetadata |
getKeyMetadata()
Metadata associated with the CMK.
|
int |
hashCode() |
void |
setKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the CMK.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateKeyResult |
withKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the CMK.
|
private KeyMetadata keyMetadata
Metadata associated with the CMK.
public 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateKeyResult clone()
clone
in class java.lang.Object