public class CreateKeyResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CreateKeyResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public KeyMetadata getKeyMetadata()
Metadata associated with the CMK.
Metadata associated with the CMK.
public void setKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the CMK.
keyMetadata
- Metadata associated with the CMK.
public CreateKeyResult withKeyMetadata(KeyMetadata keyMetadata)
Metadata associated with the CMK.
Returns a reference to this object so that method calls can be chained together.
keyMetadata
- Metadata associated with the CMK.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.