public class UpdateRoleAliasRequest extends AmazonWebServiceRequest implements Serializable
Updates a role alias.
| Constructor and Description |
|---|
UpdateRoleAliasRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getCredentialDurationSeconds()
The number of seconds the credential will be valid.
|
String |
getRoleAlias()
The role alias to update.
|
String |
getRoleArn()
The role ARN.
|
int |
hashCode() |
void |
setCredentialDurationSeconds(Integer credentialDurationSeconds)
The number of seconds the credential will be valid.
|
void |
setRoleAlias(String roleAlias)
The role alias to update.
|
void |
setRoleArn(String roleArn)
The role ARN.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateRoleAliasRequest |
withCredentialDurationSeconds(Integer credentialDurationSeconds)
The number of seconds the credential will be valid.
|
UpdateRoleAliasRequest |
withRoleAlias(String roleAlias)
The role alias to update.
|
UpdateRoleAliasRequest |
withRoleArn(String roleArn)
The role ARN.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getRoleAlias()
The role alias to update.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
The role alias to update.
public void setRoleAlias(String roleAlias)
The role alias to update.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
roleAlias - The role alias to update.
public UpdateRoleAliasRequest withRoleAlias(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 String getRoleArn()
The role ARN.
Constraints:
Length: 20 - 2048
The role ARN.
public void setRoleArn(String roleArn)
The role ARN.
Constraints:
Length: 20 - 2048
roleArn - The role ARN.
public UpdateRoleAliasRequest withRoleArn(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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.