@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRoleAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRoleAliasRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRoleAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRoleAlias(String roleAlias)
The role alias to update.
roleAlias
- The role alias to update.public String getRoleAlias()
The role alias to update.
public UpdateRoleAliasRequest withRoleAlias(String roleAlias)
The role alias to update.
roleAlias
- The role alias to update.public void setRoleArn(String roleArn)
The role ARN.
roleArn
- The role ARN.public String getRoleArn()
The role ARN.
public UpdateRoleAliasRequest withRoleArn(String roleArn)
The role ARN.
roleArn
- The role ARN.public void setCredentialDurationSeconds(Integer credentialDurationSeconds)
The number of seconds the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
credentialDurationSeconds
- The number of seconds the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
public Integer getCredentialDurationSeconds()
The number of seconds the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
public UpdateRoleAliasRequest withCredentialDurationSeconds(Integer credentialDurationSeconds)
The number of seconds the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
credentialDurationSeconds
- The number of seconds the credential will be valid.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
public String toString()
toString
in class Object
Object.toString()
public UpdateRoleAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()