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 AliasListEntry
clone()
boolean
equals(Object obj)
String
getAliasArn()
String that contains the key ARN.String
getAliasName()
String that contains the alias.String
getTargetKeyId()
String that contains the key identifier pointed to by the alias.int
hashCode()
void
setAliasArn(String aliasArn)
String that contains the key ARN.void
setAliasName(String aliasName)
String that contains the alias.void
setTargetKeyId(String targetKeyId)
String that contains the key identifier pointed to by the alias.String
toString()
Returns a string representation of this object; useful for testing and debugging.AliasListEntry
withAliasArn(String aliasArn)
String that contains the key ARN.AliasListEntry
withAliasName(String aliasName)
String that contains the alias.AliasListEntry
withTargetKeyId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AliasListEntry clone()
-
-