public class UpdateRoleAliasRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates a role alias.
| Constructor and Description |
|---|
UpdateRoleAliasRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCredentialDurationSeconds()
The number of seconds the credential will be valid.
|
java.lang.String |
getRoleAlias()
The role alias to update.
|
java.lang.String |
getRoleArn()
The role ARN.
|
int |
hashCode() |
void |
setCredentialDurationSeconds(java.lang.Integer credentialDurationSeconds)
The number of seconds the credential will be valid.
|
void |
setRoleAlias(java.lang.String roleAlias)
The role alias to update.
|
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.
|
UpdateRoleAliasRequest |
withCredentialDurationSeconds(java.lang.Integer credentialDurationSeconds)
The number of seconds the credential will be valid.
|
UpdateRoleAliasRequest |
withRoleAlias(java.lang.String roleAlias)
The role alias to update.
|
UpdateRoleAliasRequest |
withRoleArn(java.lang.String roleArn)
The role ARN.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getRoleAlias()
The role alias to update.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
The role alias to update.
public void setRoleAlias(java.lang.String roleAlias)
The role alias to update.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
roleAlias - The role alias to update.
public UpdateRoleAliasRequest withRoleAlias(java.lang.String roleAlias)
The role alias to update.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
roleAlias - The role alias to update.
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 UpdateRoleAliasRequest 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.Integer getCredentialDurationSeconds()
The number of seconds the credential will be valid.
Constraints:
Range: 900 - 3600
The number of seconds the credential will be valid.
public void setCredentialDurationSeconds(java.lang.Integer credentialDurationSeconds)
The number of seconds the credential will be valid.
Constraints:
Range: 900 - 3600
credentialDurationSeconds - The number of seconds the credential will be valid.
public UpdateRoleAliasRequest withCredentialDurationSeconds(java.lang.Integer credentialDurationSeconds)
The number of seconds the credential will be valid.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 900 - 3600
credentialDurationSeconds - The number of seconds the credential will be valid.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.