public class UpdateAssumeRolePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateAssumeRolePolicy operation.
Updates the policy that grants an entity permission to assume a role. For more information about roles, go to Using Roles to Delegate Permissions and Federate Identities .
NOOP| Constructor and Description |
|---|
UpdateAssumeRolePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateAssumeRolePolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyDocument()
The policy that grants an entity permission to assume the role.
|
String |
getRoleName()
The name of the role to update.
|
int |
hashCode() |
void |
setPolicyDocument(String policyDocument)
The policy that grants an entity permission to assume the role.
|
void |
setRoleName(String roleName)
The name of the role to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAssumeRolePolicyRequest |
withPolicyDocument(String policyDocument)
The policy that grants an entity permission to assume the role.
|
UpdateAssumeRolePolicyRequest |
withRoleName(String roleName)
The name of the role to update.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
roleName - The name of the role to update.public UpdateAssumeRolePolicyRequest withRoleName(String roleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
roleName - The name of the role to update.public String getPolicyDocument()
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
public void setPolicyDocument(String policyDocument)
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
policyDocument - The policy that grants an entity permission to assume the role.public UpdateAssumeRolePolicyRequest withPolicyDocument(String policyDocument)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
policyDocument - The policy that grants an entity permission to assume the role.public String toString()
toString in class ObjectObject.toString()public UpdateAssumeRolePolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.