public class CreateRoleAliasRequest extends AmazonWebServiceRequest implements Serializable
Creates a role alias.
| Constructor and Description |
|---|
CreateRoleAliasRequest() |
| Modifier and Type | Method and Description |
|---|---|
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; useful for testing and
debugging.
|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getRoleAlias()
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
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.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
roleAlias - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w=,@-]+
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 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 CreateRoleAliasRequest 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()
How long (in seconds) the credentials will be valid.
Constraints:
Range: 900 - 3600
How long (in seconds) the credentials will be valid.
public void setCredentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid.
Constraints:
Range: 900 - 3600
credentialDurationSeconds - How long (in seconds) the credentials will be valid.
public CreateRoleAliasRequest withCredentialDurationSeconds(Integer credentialDurationSeconds)
How long (in seconds) the credentials will be valid.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 900 - 3600
credentialDurationSeconds - How long (in seconds) the credentials will be valid.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.