Package com.amazonaws.services.kms.model
Class KeyListEntry
- java.lang.Object
-
- com.amazonaws.services.kms.model.KeyListEntry
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class KeyListEntry extends Object implements Serializable, Cloneable
Contains information about each entry in the key list.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyListEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyListEntry
clone()
boolean
equals(Object obj)
String
getKeyArn()
ARN of the key.String
getKeyId()
Unique identifier of the key.int
hashCode()
void
setKeyArn(String keyArn)
ARN of the key.void
setKeyId(String keyId)
Unique identifier of the key.String
toString()
Returns a string representation of this object; useful for testing and debugging.KeyListEntry
withKeyArn(String keyArn)
ARN of the key.KeyListEntry
withKeyId(String keyId)
Unique identifier of the key.
-
-
-
Method Detail
-
setKeyId
public void setKeyId(String keyId)
Unique identifier of the key.
- Parameters:
keyId
- Unique identifier of the key.
-
getKeyId
public String getKeyId()
Unique identifier of the key.
- Returns:
- Unique identifier of the key.
-
withKeyId
public KeyListEntry withKeyId(String keyId)
Unique identifier of the key.
- Parameters:
keyId
- Unique identifier of the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKeyArn
public void setKeyArn(String keyArn)
ARN of the key.
- Parameters:
keyArn
- ARN of the key.
-
getKeyArn
public String getKeyArn()
ARN of the key.
- Returns:
- ARN of the key.
-
withKeyArn
public KeyListEntry withKeyArn(String keyArn)
ARN of the key.
- Parameters:
keyArn
- ARN of the key.- 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 KeyListEntry clone()
-
-