@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Alias extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an alias.
Constructor and Description |
---|
Alias() |
Modifier and Type | Method and Description |
---|---|
Alias |
clone() |
boolean |
equals(Object obj) |
String |
getAliasName()
A friendly name that you can use to refer to a key.
|
String |
getKeyArn()
The
KeyARN of the key associated with the alias. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAliasName(String aliasName)
A friendly name that you can use to refer to a key.
|
void |
setKeyArn(String keyArn)
The
KeyARN of the key associated with the alias. |
String |
toString()
Returns a string representation of this object.
|
Alias |
withAliasName(String aliasName)
A friendly name that you can use to refer to a key.
|
Alias |
withKeyArn(String keyArn)
The
KeyARN of the key associated with the alias. |
public void setAliasName(String aliasName)
A friendly name that you can use to refer to a key. The value must begin with alias/
.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
aliasName
- A friendly name that you can use to refer to a key. The value must begin with alias/
.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
public String getAliasName()
A friendly name that you can use to refer to a key. The value must begin with alias/
.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
alias/
.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
public Alias withAliasName(String aliasName)
A friendly name that you can use to refer to a key. The value must begin with alias/
.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
aliasName
- A friendly name that you can use to refer to a key. The value must begin with alias/
.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
public void setKeyArn(String keyArn)
The KeyARN
of the key associated with the alias.
keyArn
- The KeyARN
of the key associated with the alias.public String getKeyArn()
The KeyARN
of the key associated with the alias.
KeyARN
of the key associated with the alias.public Alias withKeyArn(String keyArn)
The KeyARN
of the key associated with the alias.
keyArn
- The KeyARN
of the key associated with the alias.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.