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 KeyListEntryclone()booleanequals(Object obj)StringgetKeyArn()ARN of the key.StringgetKeyId()Unique identifier of the key.inthashCode()voidsetKeyArn(String keyArn)ARN of the key.voidsetKeyId(String keyId)Unique identifier of the key.StringtoString()Returns a string representation of this object; useful for testing and debugging.KeyListEntrywithKeyArn(String keyArn)ARN of the key.KeyListEntrywithKeyId(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public KeyListEntry clone()
-
-