public class AliasListEntry
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about an alias.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
aliasArn
String that contains the key ARN.
|
private java.lang.String |
aliasName
String that contains the alias.
|
private java.lang.String |
targetKeyId
String that contains the key identifier pointed to by the alias.
|
Constructor and Description |
---|
AliasListEntry() |
Modifier and Type | Method and Description |
---|---|
AliasListEntry |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAliasArn()
String that contains the key ARN.
|
java.lang.String |
getAliasName()
String that contains the alias.
|
java.lang.String |
getTargetKeyId()
String that contains the key identifier pointed to by the alias.
|
int |
hashCode() |
void |
setAliasArn(java.lang.String aliasArn)
String that contains the key ARN.
|
void |
setAliasName(java.lang.String aliasName)
String that contains the alias.
|
void |
setTargetKeyId(java.lang.String targetKeyId)
String that contains the key identifier pointed to by the alias.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AliasListEntry |
withAliasArn(java.lang.String aliasArn)
String that contains the key ARN.
|
AliasListEntry |
withAliasName(java.lang.String aliasName)
String that contains the alias.
|
AliasListEntry |
withTargetKeyId(java.lang.String targetKeyId)
String that contains the key identifier pointed to by the alias.
|
private java.lang.String aliasName
String that contains the alias.
private java.lang.String aliasArn
String that contains the key ARN.
private java.lang.String targetKeyId
String that contains the key identifier pointed to by the alias.
public void setAliasName(java.lang.String aliasName)
String that contains the alias.
aliasName
- String that contains the alias.public java.lang.String getAliasName()
String that contains the alias.
public AliasListEntry withAliasName(java.lang.String aliasName)
String that contains the alias.
aliasName
- String that contains the alias.public void setAliasArn(java.lang.String aliasArn)
String that contains the key ARN.
aliasArn
- String that contains the key ARN.public java.lang.String getAliasArn()
String that contains the key ARN.
public AliasListEntry withAliasArn(java.lang.String aliasArn)
String that contains the key ARN.
aliasArn
- String that contains the key ARN.public void setTargetKeyId(java.lang.String targetKeyId)
String that contains the key identifier pointed to by the alias.
targetKeyId
- String that contains the key identifier pointed to by the alias.public java.lang.String getTargetKeyId()
String that contains the key identifier pointed to by the alias.
public AliasListEntry withTargetKeyId(java.lang.String targetKeyId)
String that contains the key identifier pointed to by the alias.
targetKeyId
- String that contains the key identifier pointed to by the alias.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 AliasListEntry clone()
clone
in class java.lang.Object