@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoleAliasDescription extends Object implements Serializable, Cloneable, StructuredPojo
Role alias description.
Constructor and Description |
---|
RoleAliasDescription() |
Modifier and Type | Method and Description |
---|---|
RoleAliasDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The UNIX timestamp of when the role alias was created.
|
Integer |
getCredentialDurationSeconds()
The number of seconds for which the credential is valid.
|
Date |
getLastModifiedDate()
The UNIX timestamp of when the role alias was last modified.
|
String |
getOwner()
The role alias owner.
|
String |
getRoleAlias()
The role alias.
|
String |
getRoleAliasArn()
The ARN of the role alias.
|
String |
getRoleArn()
The role ARN.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The UNIX timestamp of when the role alias was created.
|
void |
setCredentialDurationSeconds(Integer credentialDurationSeconds)
The number of seconds for which the credential is valid.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The UNIX timestamp of when the role alias was last modified.
|
void |
setOwner(String owner)
The role alias owner.
|
void |
setRoleAlias(String roleAlias)
The role alias.
|
void |
setRoleAliasArn(String roleAliasArn)
The ARN of the role alias.
|
void |
setRoleArn(String roleArn)
The role ARN.
|
String |
toString()
Returns a string representation of this object.
|
RoleAliasDescription |
withCreationDate(Date creationDate)
The UNIX timestamp of when the role alias was created.
|
RoleAliasDescription |
withCredentialDurationSeconds(Integer credentialDurationSeconds)
The number of seconds for which the credential is valid.
|
RoleAliasDescription |
withLastModifiedDate(Date lastModifiedDate)
The UNIX timestamp of when the role alias was last modified.
|
RoleAliasDescription |
withOwner(String owner)
The role alias owner.
|
RoleAliasDescription |
withRoleAlias(String roleAlias)
The role alias.
|
RoleAliasDescription |
withRoleAliasArn(String roleAliasArn)
The ARN of the role alias.
|
RoleAliasDescription |
withRoleArn(String roleArn)
The role ARN.
|
public void setRoleAlias(String roleAlias)
The role alias.
roleAlias
- The role alias.public String getRoleAlias()
The role alias.
public RoleAliasDescription withRoleAlias(String roleAlias)
The role alias.
roleAlias
- The role alias.public void setRoleAliasArn(String roleAliasArn)
The ARN of the role alias.
roleAliasArn
- The ARN of the role alias.public String getRoleAliasArn()
The ARN of the role alias.
public RoleAliasDescription withRoleAliasArn(String roleAliasArn)
The ARN of the role alias.
roleAliasArn
- The ARN of the role alias.public void setRoleArn(String roleArn)
The role ARN.
roleArn
- The role ARN.public String getRoleArn()
The role ARN.
public RoleAliasDescription withRoleArn(String roleArn)
The role ARN.
roleArn
- The role ARN.public void setOwner(String owner)
The role alias owner.
owner
- The role alias owner.public String getOwner()
The role alias owner.
public RoleAliasDescription withOwner(String owner)
The role alias owner.
owner
- The role alias owner.public void setCredentialDurationSeconds(Integer credentialDurationSeconds)
The number of seconds for which the credential is valid.
credentialDurationSeconds
- The number of seconds for which the credential is valid.public Integer getCredentialDurationSeconds()
The number of seconds for which the credential is valid.
public RoleAliasDescription withCredentialDurationSeconds(Integer credentialDurationSeconds)
The number of seconds for which the credential is valid.
credentialDurationSeconds
- The number of seconds for which the credential is valid.public void setCreationDate(Date creationDate)
The UNIX timestamp of when the role alias was created.
creationDate
- The UNIX timestamp of when the role alias was created.public Date getCreationDate()
The UNIX timestamp of when the role alias was created.
public RoleAliasDescription withCreationDate(Date creationDate)
The UNIX timestamp of when the role alias was created.
creationDate
- The UNIX timestamp of when the role alias was created.public void setLastModifiedDate(Date lastModifiedDate)
The UNIX timestamp of when the role alias was last modified.
lastModifiedDate
- The UNIX timestamp of when the role alias was last modified.public Date getLastModifiedDate()
The UNIX timestamp of when the role alias was last modified.
public RoleAliasDescription withLastModifiedDate(Date lastModifiedDate)
The UNIX timestamp of when the role alias was last modified.
lastModifiedDate
- The UNIX timestamp of when the role alias was last modified.public String toString()
toString
in class Object
Object.toString()
public RoleAliasDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.