@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRoleAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRoleAliasRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRoleAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getCredentialDurationSeconds()
How long (in seconds) the credentials will be valid.
|
String |
getRoleAlias()
The role alias that points to a role ARN.
|
String |
getRoleArn()
The role ARN.
|
int |
hashCode() |
void |
setCredentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid.
|
void |
setRoleAlias(String roleAlias)
The role alias that points to a role ARN.
|
void |
setRoleArn(String roleArn)
The role ARN.
|
String |
toString()
Returns a string representation of this object.
|
CreateRoleAliasRequest |
withCredentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid.
|
CreateRoleAliasRequest |
withRoleAlias(String roleAlias)
The role alias that points to a role ARN.
|
CreateRoleAliasRequest |
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 that points to a role ARN. This allows you to change the role without having to update the device.
roleAlias
- The role alias that points to a role ARN. This allows you to change the role without having to update the
device.public String getRoleAlias()
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
public CreateRoleAliasRequest withRoleAlias(String roleAlias)
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
roleAlias
- The role alias that points to a role ARN. This allows you to change the role without having to update the
device.public void setRoleArn(String roleArn)
The role ARN.
roleArn
- The role ARN.public String getRoleArn()
The role ARN.
public CreateRoleAliasRequest withRoleArn(String roleArn)
The role ARN.
roleArn
- The role ARN.public void setCredentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid.
credentialDurationSeconds
- How long (in seconds) the credentials will be valid.public Integer getCredentialDurationSeconds()
How long (in seconds) the credentials will be valid.
public CreateRoleAliasRequest withCredentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid.
credentialDurationSeconds
- How long (in seconds) the credentials will be valid.public String toString()
toString
in class Object
Object.toString()
public CreateRoleAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.