com.amazonaws.services.elasticache.model

## クラス CacheSubnetGroup

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

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

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

  Contains the result of a successful invocation of the following actions:

  - CreateCacheSubnetGroup
  - ModifyCacheSubnetGroup
  - DescribeCacheSubnetGroups
  - DeleteCacheSubnetGroup

  This data type is used as a response element in the DescribeCacheSubnetGroups action.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCacheSubnetGroupDescription()` Provides the description of the Cache Subnet Group.
    `java.lang.String` | `getCacheSubnetGroupName()` Specifies the name of the Cache Subnet Group.
    `java.util.List<Subnet>` | `getSubnets()` Contains a list of subnets for this group.
    `java.lang.String` | `getVpcId()` Provides the VPC ID of the Cache Subnet Group.
    `int` | `hashCode()`
    `void` | `setCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)` Provides the description of the Cache Subnet Group.
    `void` | `setCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)` Specifies the name of the Cache Subnet Group.
    `void` | `setSubnets(java.util.Collection<Subnet> subnets)` Contains a list of subnets for this group.
    `void` | `setVpcId(java.lang.String vpcId)` Provides the VPC ID of the Cache Subnet Group.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CacheSubnetGroup` | `withCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)` Provides the description of the Cache Subnet Group.
    `CacheSubnetGroup` | `withCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)` Specifies the name of the Cache Subnet Group.
    `CacheSubnetGroup` | `withSubnets(java.util.Collection<Subnet> subnets)` Contains a list of subnets for this group.
    `CacheSubnetGroup` | `withSubnets(Subnet... subnets)` Contains a list of subnets for this group.
    `CacheSubnetGroup` | `withVpcId(java.lang.String vpcId)` Provides the VPC ID of the Cache Subnet Group.

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

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

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

    - #### CacheSubnetGroup

          public CacheSubnetGroup()

  - ### メソッドの詳細

    - #### getCacheSubnetGroupName

          public java.lang.String getCacheSubnetGroupName()

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

    - #### setCacheSubnetGroupName

          public void setCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)

      Specifies the name of the Cache Subnet Group.
      パラメータ:
        `cacheSubnetGroupName` - Specifies the name of the Cache Subnet Group.

    - #### withCacheSubnetGroupName

          public CacheSubnetGroup withCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)

      Specifies the name of the Cache Subnet Group.

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

      パラメータ:
        `cacheSubnetGroupName` - Specifies the name of the Cache Subnet Group.

    - #### getCacheSubnetGroupDescription

          public java.lang.String getCacheSubnetGroupDescription()

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

    - #### setCacheSubnetGroupDescription

          public void setCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)

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

    - #### withCacheSubnetGroupDescription

          public CacheSubnetGroup withCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)

      Provides the description of the Cache Subnet Group.

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

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

    - #### getVpcId

          public java.lang.String getVpcId()

      Provides the VPC ID of the Cache Subnet Group.
      戻り値:
        Provides the VPC ID of the Cache Subnet Group.

    - #### setVpcId

          public void setVpcId(java.lang.String vpcId)

      Provides the VPC ID of the Cache Subnet Group.
      パラメータ:
        `vpcId` - Provides the VPC ID of the Cache Subnet Group.

    - #### withVpcId

          public CacheSubnetGroup withVpcId(java.lang.String vpcId)

      Provides the VPC ID of the Cache Subnet Group.

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

      パラメータ:
        `vpcId` - Provides the VPC ID of the Cache Subnet Group.

    - #### getSubnets

          public java.util.List<Subnet> getSubnets()

      Contains a list of subnets for this group.
      戻り値:
        Contains a list of subnets for this group.

    - #### setSubnets

          public void setSubnets(java.util.Collection<Subnet> subnets)

      Contains a list of subnets for this group.
      パラメータ:
        `subnets` - Contains a list of subnets for this group.

    - #### withSubnets

          public CacheSubnetGroup withSubnets(Subnet... subnets)

      Contains a list of subnets for this group.

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

      パラメータ:
        `subnets` - Contains a list of subnets for this group.

    - #### withSubnets

          public CacheSubnetGroup withSubnets(java.util.Collection<Subnet> subnets)

      Contains a list of subnets for this group.

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

      パラメータ:
        `subnets` - Contains a list of subnets for this group.

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