com.amazonaws.services.elasticache.model

## クラス CacheSecurityGroup

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

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

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

  Defines a set of EC2 Security groups that are allowed to access a Cache Cluster.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCacheSecurityGroupName()` Specifies the name of the Cache Security Group.
    `java.lang.String` | `getDescription()` Provides the description of the Cache Security Group.
    `java.util.List<EC2SecurityGroup>` | `getEC2SecurityGroups()` Contains a list of EC2SecurityGroup elements.
    `java.lang.String` | `getOwnerId()` Provides the AWS ID of the owner of a specific Cache Security Group.
    `int` | `hashCode()`
    `void` | `setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)` Specifies the name of the Cache Security Group.
    `void` | `setDescription(java.lang.String description)` Provides the description of the Cache Security Group.
    `void` | `setEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)` Contains a list of EC2SecurityGroup elements.
    `void` | `setOwnerId(java.lang.String ownerId)` Provides the AWS ID of the owner of a specific Cache Security Group.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CacheSecurityGroup` | `withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)` Specifies the name of the Cache Security Group.
    `CacheSecurityGroup` | `withDescription(java.lang.String description)` Provides the description of the Cache Security Group.
    `CacheSecurityGroup` | `withEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)` Contains a list of EC2SecurityGroup elements.
    `CacheSecurityGroup` | `withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)` Contains a list of EC2SecurityGroup elements.
    `CacheSecurityGroup` | `withOwnerId(java.lang.String ownerId)` Provides the AWS ID of the owner of a specific Cache Security Group.

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

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

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

    - #### CacheSecurityGroup

          public CacheSecurityGroup()

  - ### メソッドの詳細

    - #### getOwnerId

          public java.lang.String getOwnerId()

      Provides the AWS ID of the owner of a specific Cache Security Group.
      戻り値:
        Provides the AWS ID of the owner of a specific Cache Security Group.

    - #### setOwnerId

          public void setOwnerId(java.lang.String ownerId)

      Provides the AWS ID of the owner of a specific Cache Security Group.
      パラメータ:
        `ownerId` - Provides the AWS ID of the owner of a specific Cache Security Group.

    - #### withOwnerId

          public CacheSecurityGroup withOwnerId(java.lang.String ownerId)

      Provides the AWS ID of the owner of a specific Cache Security Group.

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

      パラメータ:
        `ownerId` - Provides the AWS ID of the owner of a specific Cache Security Group.

    - #### getCacheSecurityGroupName

          public java.lang.String getCacheSecurityGroupName()

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

    - #### setCacheSecurityGroupName

          public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)

      Specifies the name of the Cache Security Group.
      パラメータ:
        `cacheSecurityGroupName` - Specifies the name of the Cache Security Group.

    - #### withCacheSecurityGroupName

          public CacheSecurityGroup withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)

      Specifies the name of the Cache Security Group.

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

      パラメータ:
        `cacheSecurityGroupName` - Specifies the name of the Cache Security Group.

    - #### getDescription

          public java.lang.String getDescription()

      Provides the description of the Cache Security Group.
      戻り値:
        Provides the description of the Cache Security Group.

    - #### setDescription

          public void setDescription(java.lang.String description)

      Provides the description of the Cache Security Group.
      パラメータ:
        `description` - Provides the description of the Cache Security Group.

    - #### withDescription

          public CacheSecurityGroup withDescription(java.lang.String description)

      Provides the description of the Cache Security Group.

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

      パラメータ:
        `description` - Provides the description of the Cache Security Group.

    - #### getEC2SecurityGroups

          public java.util.List<EC2SecurityGroup> getEC2SecurityGroups()

      Contains a list of EC2SecurityGroup elements.
      戻り値:
        Contains a list of EC2SecurityGroup elements.

    - #### setEC2SecurityGroups

          public void setEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)

      Contains a list of EC2SecurityGroup elements.
      パラメータ:
        `eC2SecurityGroups` - Contains a list of EC2SecurityGroup elements.

    - #### withEC2SecurityGroups

          public CacheSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)

      Contains a list of EC2SecurityGroup elements.

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

      パラメータ:
        `eC2SecurityGroups` - Contains a list of EC2SecurityGroup elements.

    - #### withEC2SecurityGroups

          public CacheSecurityGroup withEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)

      Contains a list of EC2SecurityGroup elements.

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

      パラメータ:
        `eC2SecurityGroups` - Contains a list of EC2SecurityGroup elements.

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