@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AliasListEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an alias.
Constructor and Description |
---|
AliasListEntry() |
Modifier and Type | Method and Description |
---|---|
AliasListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAliasArn()
String that contains the key ARN.
|
String |
getAliasName()
String that contains the alias.
|
Date |
getCreationDate()
Date and time that the alias was most recently created in the account and Region.
|
Date |
getLastUpdatedDate()
Date and time that the alias was most recently associated with a KMS key in the account and Region.
|
String |
getTargetKeyId()
String that contains the key identifier of the KMS key associated with the alias.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAliasArn(String aliasArn)
String that contains the key ARN.
|
void |
setAliasName(String aliasName)
String that contains the alias.
|
void |
setCreationDate(Date creationDate)
Date and time that the alias was most recently created in the account and Region.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
Date and time that the alias was most recently associated with a KMS key in the account and Region.
|
void |
setTargetKeyId(String targetKeyId)
String that contains the key identifier of the KMS key associated with the alias.
|
String |
toString()
Returns a string representation of this object.
|
AliasListEntry |
withAliasArn(String aliasArn)
String that contains the key ARN.
|
AliasListEntry |
withAliasName(String aliasName)
String that contains the alias.
|
AliasListEntry |
withCreationDate(Date creationDate)
Date and time that the alias was most recently created in the account and Region.
|
AliasListEntry |
withLastUpdatedDate(Date lastUpdatedDate)
Date and time that the alias was most recently associated with a KMS key in the account and Region.
|
AliasListEntry |
withTargetKeyId(String targetKeyId)
String that contains the key identifier of the KMS key associated with the alias.
|
public void setAliasName(String aliasName)
String that contains the alias. This value begins with alias/
.
aliasName
- String that contains the alias. This value begins with alias/
.public String getAliasName()
String that contains the alias. This value begins with alias/
.
alias/
.public AliasListEntry withAliasName(String aliasName)
String that contains the alias. This value begins with alias/
.
aliasName
- String that contains the alias. This value begins with alias/
.public void setAliasArn(String aliasArn)
String that contains the key ARN.
aliasArn
- String that contains the key ARN.public String getAliasArn()
String that contains the key ARN.
public AliasListEntry withAliasArn(String aliasArn)
String that contains the key ARN.
aliasArn
- String that contains the key ARN.public void setTargetKeyId(String targetKeyId)
String that contains the key identifier of the KMS key associated with the alias.
targetKeyId
- String that contains the key identifier of the KMS key associated with the alias.public String getTargetKeyId()
String that contains the key identifier of the KMS key associated with the alias.
public AliasListEntry withTargetKeyId(String targetKeyId)
String that contains the key identifier of the KMS key associated with the alias.
targetKeyId
- String that contains the key identifier of the KMS key associated with the alias.public void setCreationDate(Date creationDate)
Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.
creationDate
- Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.public Date getCreationDate()
Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.
public AliasListEntry withCreationDate(Date creationDate)
Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.
creationDate
- Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.public void setLastUpdatedDate(Date lastUpdatedDate)
Date and time that the alias was most recently associated with a KMS key in the account and Region. Formatted as Unix time.
lastUpdatedDate
- Date and time that the alias was most recently associated with a KMS key in the account and Region.
Formatted as Unix time.public Date getLastUpdatedDate()
Date and time that the alias was most recently associated with a KMS key in the account and Region. Formatted as Unix time.
public AliasListEntry withLastUpdatedDate(Date lastUpdatedDate)
Date and time that the alias was most recently associated with a KMS key in the account and Region. Formatted as Unix time.
lastUpdatedDate
- Date and time that the alias was most recently associated with a KMS key in the account and Region.
Formatted as Unix time.public String toString()
toString
in class Object
Object.toString()
public AliasListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.