public class RoleAliasDescription
extends java.lang.Object
implements java.io.Serializable
Role alias description.
Constructor and Description |
---|
RoleAliasDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
The UNIX timestamp of when the role alias was created.
|
java.lang.Integer |
getCredentialDurationSeconds()
The number of seconds for which the credential is valid.
|
java.util.Date |
getLastModifiedDate()
The UNIX timestamp of when the role alias was last modified.
|
java.lang.String |
getOwner()
The role alias owner.
|
java.lang.String |
getRoleAlias()
The role alias.
|
java.lang.String |
getRoleAliasArn()
The ARN of the role alias.
|
java.lang.String |
getRoleArn()
The role ARN.
|
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the role alias was created.
|
void |
setCredentialDurationSeconds(java.lang.Integer credentialDurationSeconds)
The number of seconds for which the credential is valid.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The UNIX timestamp of when the role alias was last modified.
|
void |
setOwner(java.lang.String owner)
The role alias owner.
|
void |
setRoleAlias(java.lang.String roleAlias)
The role alias.
|
void |
setRoleAliasArn(java.lang.String roleAliasArn)
The ARN of the role alias.
|
void |
setRoleArn(java.lang.String roleArn)
The role ARN.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RoleAliasDescription |
withCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the role alias was created.
|
RoleAliasDescription |
withCredentialDurationSeconds(java.lang.Integer credentialDurationSeconds)
The number of seconds for which the credential is valid.
|
RoleAliasDescription |
withLastModifiedDate(java.util.Date lastModifiedDate)
The UNIX timestamp of when the role alias was last modified.
|
RoleAliasDescription |
withOwner(java.lang.String owner)
The role alias owner.
|
RoleAliasDescription |
withRoleAlias(java.lang.String roleAlias)
The role alias.
|
RoleAliasDescription |
withRoleAliasArn(java.lang.String roleAliasArn)
The ARN of the role alias.
|
RoleAliasDescription |
withRoleArn(java.lang.String roleArn)
The role ARN.
|
public java.lang.String getRoleAlias()
The role alias.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
The role alias.
public void setRoleAlias(java.lang.String roleAlias)
The role alias.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
roleAlias
- The role alias.
public RoleAliasDescription withRoleAlias(java.lang.String roleAlias)
The role alias.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
roleAlias
- The role alias.
public java.lang.String getRoleAliasArn()
The ARN of the role alias.
Constraints:
Length: 1 - 2048
The ARN of the role alias.
public void setRoleAliasArn(java.lang.String roleAliasArn)
The ARN of the role alias.
Constraints:
Length: 1 - 2048
roleAliasArn
- The ARN of the role alias.
public RoleAliasDescription withRoleAliasArn(java.lang.String roleAliasArn)
The ARN of the role alias.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
roleAliasArn
- The ARN of the role alias.
public java.lang.String getRoleArn()
The role ARN.
Constraints:
Length: 20 - 2048
The role ARN.
public void setRoleArn(java.lang.String roleArn)
The role ARN.
Constraints:
Length: 20 - 2048
roleArn
- The role ARN.
public RoleAliasDescription withRoleArn(java.lang.String roleArn)
The role ARN.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArn
- The role ARN.
public java.lang.String getOwner()
The role alias owner.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
The role alias owner.
public void setOwner(java.lang.String owner)
The role alias owner.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
owner
- The role alias owner.
public RoleAliasDescription withOwner(java.lang.String owner)
The role alias owner.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
owner
- The role alias owner.
public java.lang.Integer getCredentialDurationSeconds()
The number of seconds for which the credential is valid.
Constraints:
Range: 900 - 3600
The number of seconds for which the credential is valid.
public void setCredentialDurationSeconds(java.lang.Integer credentialDurationSeconds)
The number of seconds for which the credential is valid.
Constraints:
Range: 900 - 3600
credentialDurationSeconds
- The number of seconds for which the credential is valid.
public RoleAliasDescription withCredentialDurationSeconds(java.lang.Integer credentialDurationSeconds)
The number of seconds for which the credential is valid.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 900 - 3600
credentialDurationSeconds
- The number of seconds for which the credential is valid.
public java.util.Date getCreationDate()
The UNIX timestamp of when the role alias was created.
The UNIX timestamp of when the role alias was created.
public void setCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the role alias was created.
creationDate
- The UNIX timestamp of when the role alias was created.
public RoleAliasDescription withCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the role alias was created.
Returns a reference to this object so that method calls can be chained together.
creationDate
- The UNIX timestamp of when the role alias was created.
public java.util.Date getLastModifiedDate()
The UNIX timestamp of when the role alias was last modified.
The UNIX timestamp of when the role alias was last modified.
public void setLastModifiedDate(java.util.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 RoleAliasDescription withLastModifiedDate(java.util.Date lastModifiedDate)
The UNIX timestamp of when the role alias was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The UNIX timestamp of when the role alias was last modified.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.