public class KeyListEntry
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about each entry in the key list.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
keyArn
ARN of the key.
|
private java.lang.String |
keyId
Unique identifier of the key.
|
Constructor and Description |
---|
KeyListEntry() |
Modifier and Type | Method and Description |
---|---|
KeyListEntry |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKeyArn()
ARN of the key.
|
java.lang.String |
getKeyId()
Unique identifier of the key.
|
int |
hashCode() |
void |
setKeyArn(java.lang.String keyArn)
ARN of the key.
|
void |
setKeyId(java.lang.String keyId)
Unique identifier of the key.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
KeyListEntry |
withKeyArn(java.lang.String keyArn)
ARN of the key.
|
KeyListEntry |
withKeyId(java.lang.String keyId)
Unique identifier of the key.
|
private java.lang.String keyId
Unique identifier of the key.
private java.lang.String keyArn
ARN of the key.
public void setKeyId(java.lang.String keyId)
Unique identifier of the key.
keyId
- Unique identifier of the key.public java.lang.String getKeyId()
Unique identifier of the key.
public KeyListEntry withKeyId(java.lang.String keyId)
Unique identifier of the key.
keyId
- Unique identifier of the key.public void setKeyArn(java.lang.String keyArn)
ARN of the key.
keyArn
- ARN of the key.public java.lang.String getKeyArn()
ARN of the key.
public KeyListEntry withKeyArn(java.lang.String keyArn)
ARN of the key.
keyArn
- ARN of 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 KeyListEntry clone()
clone
in class java.lang.Object