com.amazonaws.services.elasticache.model

## クラス EC2SecurityGroup

- java.lang.Object
- - com.amazonaws.services.elasticache.model.EC2SecurityGroup

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

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

  Specifies the current state of this Cache Node.

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

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

    コンストラクタ
    コンストラクタと説明
    `EC2SecurityGroup()` Default constructor for a new EC2SecurityGroup object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getEC2SecurityGroupName()` Specifies the name of the EC2 Security Group.
    `java.lang.String` | `getEC2SecurityGroupOwnerId()` Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.
    `java.lang.String` | `getStatus()` Provides the status of the EC2 Security Group.
    `int` | `hashCode()`
    `void` | `setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)` Specifies the name of the EC2 Security Group.
    `void` | `setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)` Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.
    `void` | `setStatus(java.lang.String status)` Provides the status of the EC2 Security Group.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `EC2SecurityGroup` | `withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)` Specifies the name of the EC2 Security Group.
    `EC2SecurityGroup` | `withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)` Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.
    `EC2SecurityGroup` | `withStatus(java.lang.String status)` Provides the status of the EC2 Security Group.

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

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

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

    - #### EC2SecurityGroup

          public EC2SecurityGroup()

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

  - ### メソッドの詳細

    - #### getStatus

          public java.lang.String getStatus()

      Provides the status of the EC2 Security Group.
      戻り値:
        Provides the status of the EC2 Security Group.

    - #### setStatus

          public void setStatus(java.lang.String status)

      Provides the status of the EC2 Security Group.
      パラメータ:
        `status` - Provides the status of the EC2 Security Group.

    - #### withStatus

          public EC2SecurityGroup withStatus(java.lang.String status)

      Provides the status of the EC2 Security Group.

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

      パラメータ:
        `status` - Provides the status of the EC2 Security Group.

    - #### getEC2SecurityGroupName

          public java.lang.String getEC2SecurityGroupName()

      Specifies the name of the EC2 Security Group.
      戻り値:
        Specifies the name of the EC2 Security Group.

    - #### setEC2SecurityGroupName

          public void setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)

      Specifies the name of the EC2 Security Group.
      パラメータ:
        `eC2SecurityGroupName` - Specifies the name of the EC2 Security Group.

    - #### withEC2SecurityGroupName

          public EC2SecurityGroup withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)

      Specifies the name of the EC2 Security Group.

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

      パラメータ:
        `eC2SecurityGroupName` - Specifies the name of the EC2 Security Group.

    - #### getEC2SecurityGroupOwnerId

          public java.lang.String getEC2SecurityGroupOwnerId()

      Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.
      戻り値:
        Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.

    - #### setEC2SecurityGroupOwnerId

          public void setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)

      Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.
      パラメータ:
        `eC2SecurityGroupOwnerId` - Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.

    - #### withEC2SecurityGroupOwnerId

          public EC2SecurityGroup withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)

      Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.

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

      パラメータ:
        `eC2SecurityGroupOwnerId` - Specifies the AWS ID of the owner of the EC2 Security Group specified in the EC2SecurityGroupName field.

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