@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.
|
List<Tag> |
getTags()
Metadata which can be used to manage the role alias.
|
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.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the role alias.
|
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.
|
CreateRoleAliasRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the role alias.
|
CreateRoleAliasRequest |
withTags(Tag... tags)
Metadata which can be used to manage the role alias.
|
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. The default value is 3,600 seconds.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
credentialDurationSeconds
- How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.
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()
How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.
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 CreateRoleAliasRequest withCredentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
credentialDurationSeconds
- How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
public List<Tag> getTags()
Metadata which can be used to manage the role alias.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the role alias.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the role alias. For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateRoleAliasRequest withTags(Tag... tags)
Metadata which can be used to manage the role alias.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata which can be used to manage the role alias. For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateRoleAliasRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage the role alias.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the role alias. For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public String toString()
toString
in class Object
Object.toString()
public CreateRoleAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()