com.amazonaws.services.ec2.model

## クラス UserIdGroupPair

- java.lang.Object
- - com.amazonaws.services.ec2.model.UserIdGroupPair

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

      public class UserIdGroupPair
      extends java.lang.Object
      implements java.io.Serializable

  An AWS user ID identifying an AWS account, and the name of a security group within that account.

  関連項目:
    直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `UserIdGroupPair()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getGroupId()` ID of the security group in the specified AWS account.
    `java.lang.String` | `getGroupName()` Name of the security group in the specified AWS account.
    `java.lang.String` | `getUserId()` The AWS user ID of an account.
    `int` | `hashCode()`
    `void` | `setGroupId(java.lang.String groupId)` ID of the security group in the specified AWS account.
    `void` | `setGroupName(java.lang.String groupName)` Name of the security group in the specified AWS account.
    `void` | `setUserId(java.lang.String userId)` The AWS user ID of an account.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UserIdGroupPair` | `withGroupId(java.lang.String groupId)` ID of the security group in the specified AWS account.
    `UserIdGroupPair` | `withGroupName(java.lang.String groupName)` Name of the security group in the specified AWS account.
    `UserIdGroupPair` | `withUserId(java.lang.String userId)` The AWS user ID of an account.

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

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

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

    - #### UserIdGroupPair

          public UserIdGroupPair()

  - ### メソッドの詳細

    - #### getUserId

          public java.lang.String getUserId()

      The AWS user ID of an account.
      戻り値:
        The AWS user ID of an account.

    - #### setUserId

          public void setUserId(java.lang.String userId)

      The AWS user ID of an account.
      パラメータ:
        `userId` - The AWS user ID of an account.

    - #### withUserId

          public UserIdGroupPair withUserId(java.lang.String userId)

      The AWS user ID of an account.

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

      パラメータ:
        `userId` - The AWS user ID of an account.

    - #### getGroupName

          public java.lang.String getGroupName()

      Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.
      戻り値:
        Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.

    - #### setGroupName

          public void setGroupName(java.lang.String groupName)

      Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.
      パラメータ:
        `groupName` - Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.

    - #### withGroupName

          public UserIdGroupPair withGroupName(java.lang.String groupName)

      Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.

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

      パラメータ:
        `groupName` - Name of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.

    - #### getGroupId

          public java.lang.String getGroupId()

      ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.
      戻り値:
        ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.

    - #### setGroupId

          public void setGroupId(java.lang.String groupId)

      ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.
      パラメータ:
        `groupId` - ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.

    - #### withGroupId

          public UserIdGroupPair withGroupId(java.lang.String groupId)

      ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.

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

      パラメータ:
        `groupId` - ID of the security group in the specified AWS account. Cannot be used when specifying a CIDR IP address range.

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