Package com.amazonaws.services.kms.model
Class AliasListEntry
- java.lang.Object
-
- com.amazonaws.services.kms.model.AliasListEntry
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AliasListEntry extends Object implements Serializable, Cloneable
Contains information about an alias.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AliasListEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AliasListEntryclone()booleanequals(Object obj)StringgetAliasArn()String that contains the key ARN.StringgetAliasName()String that contains the alias.StringgetTargetKeyId()String that contains the key identifier pointed to by the alias.inthashCode()voidsetAliasArn(String aliasArn)String that contains the key ARN.voidsetAliasName(String aliasName)String that contains the alias.voidsetTargetKeyId(String targetKeyId)String that contains the key identifier pointed to by the alias.StringtoString()Returns a string representation of this object; useful for testing and debugging.AliasListEntrywithAliasArn(String aliasArn)String that contains the key ARN.AliasListEntrywithAliasName(String aliasName)String that contains the alias.AliasListEntrywithTargetKeyId(String targetKeyId)String that contains the key identifier pointed to by the alias.
-
-
-
Method Detail
-
setAliasName
public void setAliasName(String aliasName)
String that contains the alias.
- Parameters:
aliasName- String that contains the alias.
-
getAliasName
public String getAliasName()
String that contains the alias.
- Returns:
- String that contains the alias.
-
withAliasName
public AliasListEntry withAliasName(String aliasName)
String that contains the alias.
- Parameters:
aliasName- String that contains the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAliasArn
public void setAliasArn(String aliasArn)
String that contains the key ARN.
- Parameters:
aliasArn- String that contains the key ARN.
-
getAliasArn
public String getAliasArn()
String that contains the key ARN.
- Returns:
- String that contains the key ARN.
-
withAliasArn
public AliasListEntry withAliasArn(String aliasArn)
String that contains the key ARN.
- Parameters:
aliasArn- String that contains the key ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetKeyId
public void setTargetKeyId(String targetKeyId)
String that contains the key identifier pointed to by the alias.
- Parameters:
targetKeyId- String that contains the key identifier pointed to by the alias.
-
getTargetKeyId
public String getTargetKeyId()
String that contains the key identifier pointed to by the alias.
- Returns:
- String that contains the key identifier pointed to by the alias.
-
withTargetKeyId
public AliasListEntry withTargetKeyId(String targetKeyId)
String that contains the key identifier pointed to by the alias.
- Parameters:
targetKeyId- String that contains the key identifier pointed to by the alias.- 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 AliasListEntry clone()
-
-