public class AliasListEntry extends Object implements Serializable
Contains information about an alias.
| Constructor and Description |
|---|
AliasListEntry() |
| Modifier and Type | Method and Description |
|---|---|
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 referred 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 referred 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 referred to by the alias.
|
public String getAliasName()
String that contains the alias.
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
String that contains the alias.
public void setAliasName(String aliasName)
String that contains the alias.
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
aliasName - String that contains the alias.
public AliasListEntry withAliasName(String aliasName)
String that contains the alias.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
aliasName - String that contains the alias.
public String getAliasArn()
String that contains the key ARN.
Constraints:
Length: 20 - 2048
String that contains the key ARN.
public void setAliasArn(String aliasArn)
String that contains the key ARN.
Constraints:
Length: 20 - 2048
aliasArn - String that contains the key ARN.
public AliasListEntry withAliasArn(String aliasArn)
String that contains the key ARN.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
aliasArn - String that contains the key ARN.
public String getTargetKeyId()
String that contains the key identifier referred to by the alias.
Constraints:
Length: 1 - 2048
String that contains the key identifier referred to by the alias.
public void setTargetKeyId(String targetKeyId)
String that contains the key identifier referred to by the alias.
Constraints:
Length: 1 - 2048
targetKeyId - String that contains the key identifier referred to by the alias.
public AliasListEntry withTargetKeyId(String targetKeyId)
String that contains the key identifier referred to by the alias.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
targetKeyId - String that contains the key identifier referred to by the alias.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.