com.amazonaws.services.identitymanagement.model

## クラス ListGroupsForUserRequest

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

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

      public class ListGroupsForUserRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ListGroupsForUser operation`.

  Lists the groups the specified user belongs to.

  You can paginate the results using the `MaxItems` and `Marker` parameters.

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

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

    コンストラクタ
    コンストラクタと説明
    `ListGroupsForUserRequest()` Default constructor for a new ListGroupsForUserRequest object.
    `ListGroupsForUserRequest(java.lang.String userName)` Constructs a new ListGroupsForUserRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getMarker()` Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated.
    `java.lang.Integer` | `getMaxItems()` Use this only when paginating results to indicate the maximum number of groups you want in the response.
    `java.lang.String` | `getUserName()` The name of the user to list groups for.
    `int` | `hashCode()`
    `void` | `setMarker(java.lang.String marker)` Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated.
    `void` | `setMaxItems(java.lang.Integer maxItems)` Use this only when paginating results to indicate the maximum number of groups you want in the response.
    `void` | `setUserName(java.lang.String userName)` The name of the user to list groups for.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ListGroupsForUserRequest` | `withMarker(java.lang.String marker)` Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated.
    `ListGroupsForUserRequest` | `withMaxItems(java.lang.Integer maxItems)` Use this only when paginating results to indicate the maximum number of groups you want in the response.
    `ListGroupsForUserRequest` | `withUserName(java.lang.String userName)` The name of the user to list groups for.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ListGroupsForUserRequest

          public ListGroupsForUserRequest()

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

    - #### ListGroupsForUserRequest

          public ListGroupsForUserRequest(java.lang.String userName)

      Constructs a new ListGroupsForUserRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `userName` - The name of the user to list groups for.

  - ### メソッドの詳細

    - #### getUserName

          public java.lang.String getUserName()

      The name of the user to list groups for.

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

      戻り値:
        The name of the user to list groups for.

    - #### setUserName

          public void setUserName(java.lang.String userName)

      The name of the user to list groups for.

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

      パラメータ:
        `userName` - The name of the user to list groups for.

    - #### withUserName

          public ListGroupsForUserRequest withUserName(java.lang.String userName)

      The name of the user to list groups for.

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

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

      パラメータ:
        `userName` - The name of the user to list groups for.

    - #### getMarker

          public java.lang.String getMarker()

      Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the `Marker` element in the response you just received.

      Constraints:
      Length: 1 - 320
      Pattern: [ -ÿ]*

      戻り値:
        Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the `Marker` element in the response you just received.

    - #### setMarker

          public void setMarker(java.lang.String marker)

      Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the `Marker` element in the response you just received.

      Constraints:
      Length: 1 - 320
      Pattern: [ -ÿ]*

      パラメータ:
        `marker` - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the `Marker` element in the response you just received.

    - #### withMarker

          public ListGroupsForUserRequest withMarker(java.lang.String marker)

      Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the `Marker` element in the response you just received.

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

      Constraints:
      Length: 1 - 320
      Pattern: [ -ÿ]*

      パラメータ:
        `marker` - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the `Marker` element in the response you just received.

    - #### getMaxItems

          public java.lang.Integer getMaxItems()

      Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the `IsTruncated` response element is `true`.

      Constraints:
      Range: 1 - 1000

      戻り値:
        Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the `IsTruncated` response element is `true`.

    - #### setMaxItems

          public void setMaxItems(java.lang.Integer maxItems)

      Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the `IsTruncated` response element is `true`.

      Constraints:
      Range: 1 - 1000

      パラメータ:
        `maxItems` - Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the `IsTruncated` response element is `true`.

    - #### withMaxItems

          public ListGroupsForUserRequest withMaxItems(java.lang.Integer maxItems)

      Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the `IsTruncated` response element is `true`.

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

      Constraints:
      Range: 1 - 1000

      パラメータ:
        `maxItems` - Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the `IsTruncated` response element is `true`.

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