public class UpdateAssumeRolePolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 .
| コンストラクタと説明 |
|---|
UpdateAssumeRolePolicyRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyDocument()
The policy that grants an entity permission to assume the role.
|
java.lang.String |
getRoleName()
Name of the role to update.
|
int |
hashCode() |
void |
setPolicyDocument(java.lang.String policyDocument)
The policy that grants an entity permission to assume the role.
|
void |
setRoleName(java.lang.String roleName)
Name of the role to update.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAssumeRolePolicyRequest |
withPolicyDocument(java.lang.String policyDocument)
The policy that grants an entity permission to assume the role.
|
UpdateAssumeRolePolicyRequest |
withRoleName(java.lang.String roleName)
Name of the role to update.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(java.lang.String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName - Name of the role to update.public UpdateAssumeRolePolicyRequest withRoleName(java.lang.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 java.lang.String getPolicyDocument()
Constraints:
Length: 1 - 131072
Pattern: [
-ÿ]+
public void setPolicyDocument(java.lang.String policyDocument)
Constraints:
Length: 1 - 131072
Pattern: [
-ÿ]+
policyDocument - The policy that grants an entity permission to assume the role.public UpdateAssumeRolePolicyRequest withPolicyDocument(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object