com.amazonaws.services.identitymanagement.model

## クラス UpdateAssumeRolePolicyRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.identitymanagement.model.UpdateAssumeRolePolicyRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class UpdateAssumeRolePolicyRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  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)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `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.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### UpdateAssumeRolePolicyRequest

          public UpdateAssumeRolePolicyRequest()

  - ### メソッドの詳細

    - #### getRoleName

          public java.lang.String getRoleName()

      Name of the role to update.

      Constraints:
      Length: 1 - 64
      Pattern: [\w+=,.@-]*

      戻り値:
        Name of the role to update.

    - #### setRoleName

          public void setRoleName(java.lang.String roleName)

      Name of the role to update.

      Constraints:
      Length: 1 - 64
      Pattern: [\w+=,.@-]*

      パラメータ:
        `roleName` - Name of the role to update.

    - #### withRoleName

          public UpdateAssumeRolePolicyRequest withRoleName(java.lang.String roleName)

      Name of the role to update.

      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.

    - #### getPolicyDocument

          public java.lang.String getPolicyDocument()

      The policy that grants an entity permission to assume the role.

      Constraints:
      Length: 1 - 131072
      Pattern: [ -ÿ]+

      戻り値:
        The policy that grants an entity permission to assume the role.

    - #### setPolicyDocument

          public void setPolicyDocument(java.lang.String policyDocument)

      The policy that grants an entity permission to assume the role.

      Constraints:
      Length: 1 - 131072
      Pattern: [ -ÿ]+

      パラメータ:
        `policyDocument` - The policy that grants an entity permission to assume the role.

    - #### withPolicyDocument

          public UpdateAssumeRolePolicyRequest withPolicyDocument(java.lang.String policyDocument)

      The policy that grants an entity permission to assume the role.

      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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`