|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.UpdateAssumeRolePolicyRequest
public class UpdateAssumeRolePolicyRequest
Container for the parameters to the UpdateAssumeRolePolicy operation.
Updates the policy that grants an entity permission to assume a role. Currently, only an Amazon EC2 instance can assume a role. For more information about roles, go to Working with Roles .
AmazonIdentityManagement.updateAssumeRolePolicy(UpdateAssumeRolePolicyRequest),
Serialized Form| Constructor Summary | |
|---|---|
UpdateAssumeRolePolicyRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getPolicyDocument()
The policy that grants an entity permission to assume the role. |
String |
getRoleName()
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)
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)
Name of the role to update. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateAssumeRolePolicyRequest()
| Method Detail |
|---|
public String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName - 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 - Name of the role to update.public String getPolicyDocument()
Constraints:
Length: 1 - 131072
Pattern: [
-?]+
public void setPolicyDocument(String policyDocument)
Constraints:
Length: 1 - 131072
Pattern: [
-?]+
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: [
-?]+
policyDocument - The policy that grants an entity permission to assume the role.public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||