com.amazonaws.services.identitymanagement.model

## クラス PutGroupPolicyRequest

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

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

      public class PutGroupPolicyRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `PutGroupPolicy operation`.

  Adds (or updates) a policy document associated with the specified group. For information about policies, refer to Overview of Policies in Using AWS Identity and Access Management .

  For information about limits on the number of policies you can associate with a group, see Limitations on IAM Entities in Using AWS Identity and Access Management .

  NOTE:Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Making Query Requests in Using IAM.

  関連項目:
    `AmazonIdentityManagement.putGroupPolicy(PutGroupPolicyRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `PutGroupPolicyRequest()` Default constructor for a new PutGroupPolicyRequest object.
    `PutGroupPolicyRequest(java.lang.String groupName, java.lang.String policyName, java.lang.String policyDocument)` Constructs a new PutGroupPolicyRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getGroupName()` Name of the group to associate the policy with.
    `java.lang.String` | `getPolicyDocument()` The policy document.
    `java.lang.String` | `getPolicyName()` Name of the policy document.
    `int` | `hashCode()`
    `void` | `setGroupName(java.lang.String groupName)` Name of the group to associate the policy with.
    `void` | `setPolicyDocument(java.lang.String policyDocument)` The policy document.
    `void` | `setPolicyName(java.lang.String policyName)` Name of the policy document.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `PutGroupPolicyRequest` | `withGroupName(java.lang.String groupName)` Name of the group to associate the policy with.
    `PutGroupPolicyRequest` | `withPolicyDocument(java.lang.String policyDocument)` The policy document.
    `PutGroupPolicyRequest` | `withPolicyName(java.lang.String policyName)` Name of the policy document.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### PutGroupPolicyRequest

          public PutGroupPolicyRequest()

      Default constructor for a new PutGroupPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### PutGroupPolicyRequest

          public PutGroupPolicyRequest(java.lang.String groupName,
                               java.lang.String policyName,
                               java.lang.String policyDocument)

      Constructs a new PutGroupPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `groupName` - Name of the group to associate the policy with.
        `policyName` - Name of the policy document.
        `policyDocument` - The policy document.

  - ### メソッドの詳細

    - #### getGroupName

          public java.lang.String getGroupName()

      Name of the group to associate the policy with.

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

      戻り値:
        Name of the group to associate the policy with.

    - #### setGroupName

          public void setGroupName(java.lang.String groupName)

      Name of the group to associate the policy with.

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

      パラメータ:
        `groupName` - Name of the group to associate the policy with.

    - #### withGroupName

          public PutGroupPolicyRequest withGroupName(java.lang.String groupName)

      Name of the group to associate the policy with.

      Returns a reference to this object so that method calls can be chained together.

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

      パラメータ:
        `groupName` - Name of the group to associate the policy with.

    - #### getPolicyName

          public java.lang.String getPolicyName()

      Name of the policy document.

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

      戻り値:
        Name of the policy document.

    - #### setPolicyName

          public void setPolicyName(java.lang.String policyName)

      Name of the policy document.

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

      パラメータ:
        `policyName` - Name of the policy document.

    - #### withPolicyName

          public PutGroupPolicyRequest withPolicyName(java.lang.String policyName)

      Name of the policy document.

      Returns a reference to this object so that method calls can be chained together.

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

      パラメータ:
        `policyName` - Name of the policy document.

    - #### getPolicyDocument

          public java.lang.String getPolicyDocument()

      The policy document.

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

      戻り値:
        The policy document.

    - #### setPolicyDocument

          public void setPolicyDocument(java.lang.String policyDocument)

      The policy document.

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

      パラメータ:
        `policyDocument` - The policy document.

    - #### withPolicyDocument

          public PutGroupPolicyRequest withPolicyDocument(java.lang.String policyDocument)

      The policy document.

      Returns a reference to this object so that method calls can be chained together.

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

      パラメータ:
        `policyDocument` - The policy document.

    - #### 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`