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()
Creates a shallow clone of this request.
|
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, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
public UpdateAssumeRolePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.