com.amazonaws.services.elasticache.model

## クラス CreateCacheSubnetGroupRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticache.model.CreateCacheSubnetGroupRequest

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

      public class CreateCacheSubnetGroupRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateCacheSubnetGroup operation`.

  Creates a new Cache Subnet Group.

  関連項目:
    `AmazonElastiCache.createCacheSubnetGroup(CreateCacheSubnetGroupRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCacheSubnetGroupDescription()` The description for the Cache Subnet Group.
    `java.lang.String` | `getCacheSubnetGroupName()` The name for the Cache Subnet Group.
    `java.util.List<java.lang.String>` | `getSubnetIds()` The EC2 Subnet IDs for the Cache Subnet Group.
    `int` | `hashCode()`
    `void` | `setCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)` The description for the Cache Subnet Group.
    `void` | `setCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)` The name for the Cache Subnet Group.
    `void` | `setSubnetIds(java.util.Collection<java.lang.String> subnetIds)` The EC2 Subnet IDs for the Cache Subnet Group.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateCacheSubnetGroupRequest` | `withCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)` The description for the Cache Subnet Group.
    `CreateCacheSubnetGroupRequest` | `withCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)` The name for the Cache Subnet Group.
    `CreateCacheSubnetGroupRequest` | `withSubnetIds(java.util.Collection<java.lang.String> subnetIds)` The EC2 Subnet IDs for the Cache Subnet Group.
    `CreateCacheSubnetGroupRequest` | `withSubnetIds(java.lang.String... subnetIds)` The EC2 Subnet IDs for the Cache Subnet Group.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateCacheSubnetGroupRequest

          public CreateCacheSubnetGroupRequest()

  - ### メソッドの詳細

    - #### getCacheSubnetGroupName

          public java.lang.String getCacheSubnetGroupName()

      The name for the Cache Subnet Group. This value is stored as a lowercase string.

      Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

      Example: `mysubnetgroup`

      戻り値:
        The name for the Cache Subnet Group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

        Example: `mysubnetgroup`

    - #### setCacheSubnetGroupName

          public void setCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)

      The name for the Cache Subnet Group. This value is stored as a lowercase string.

      Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

      Example: `mysubnetgroup`

      パラメータ:
        `cacheSubnetGroupName` - The name for the Cache Subnet Group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

        Example: `mysubnetgroup`

    - #### withCacheSubnetGroupName

          public CreateCacheSubnetGroupRequest withCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)

      The name for the Cache Subnet Group. This value is stored as a lowercase string.

      Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

      Example: `mysubnetgroup`

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

      パラメータ:
        `cacheSubnetGroupName` - The name for the Cache Subnet Group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

        Example: `mysubnetgroup`

    - #### getCacheSubnetGroupDescription

          public java.lang.String getCacheSubnetGroupDescription()

      The description for the Cache Subnet Group.
      戻り値:
        The description for the Cache Subnet Group.

    - #### setCacheSubnetGroupDescription

          public void setCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)

      The description for the Cache Subnet Group.
      パラメータ:
        `cacheSubnetGroupDescription` - The description for the Cache Subnet Group.

    - #### withCacheSubnetGroupDescription

          public CreateCacheSubnetGroupRequest withCacheSubnetGroupDescription(java.lang.String cacheSubnetGroupDescription)

      The description for the Cache Subnet Group.

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

      パラメータ:
        `cacheSubnetGroupDescription` - The description for the Cache Subnet Group.

    - #### getSubnetIds

          public java.util.List<java.lang.String> getSubnetIds()

      The EC2 Subnet IDs for the Cache Subnet Group.
      戻り値:
        The EC2 Subnet IDs for the Cache Subnet Group.

    - #### setSubnetIds

          public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)

      The EC2 Subnet IDs for the Cache Subnet Group.
      パラメータ:
        `subnetIds` - The EC2 Subnet IDs for the Cache Subnet Group.

    - #### withSubnetIds

          public CreateCacheSubnetGroupRequest withSubnetIds(java.lang.String... subnetIds)

      The EC2 Subnet IDs for the Cache Subnet Group.

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

      パラメータ:
        `subnetIds` - The EC2 Subnet IDs for the Cache Subnet Group.

    - #### withSubnetIds

          public CreateCacheSubnetGroupRequest withSubnetIds(java.util.Collection<java.lang.String> subnetIds)

      The EC2 Subnet IDs for the Cache Subnet Group.

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

      パラメータ:
        `subnetIds` - The EC2 Subnet IDs for the Cache Subnet 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`