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