com.amazonaws.services.redshift.model

## クラス CreateClusterSubnetGroupRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.redshift.model.CreateClusterSubnetGroupRequest

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

      public class CreateClusterSubnetGroupRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateClusterSubnetGroup operation`.

  Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.

  For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Management Guide .

  関連項目:
    `AmazonRedshift.createClusterSubnetGroup(CreateClusterSubnetGroupRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getClusterSubnetGroupName()` The name for the subnet group.
    `java.lang.String` | `getDescription()` A description for the subnet group.
    `java.util.List<java.lang.String>` | `getSubnetIds()` An array of VPC subnet IDs.
    `int` | `hashCode()`
    `void` | `setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)` The name for the subnet group.
    `void` | `setDescription(java.lang.String description)` A description for the subnet group.
    `void` | `setSubnetIds(java.util.Collection<java.lang.String> subnetIds)` An array of VPC subnet IDs.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateClusterSubnetGroupRequest` | `withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)` The name for the subnet group.
    `CreateClusterSubnetGroupRequest` | `withDescription(java.lang.String description)` A description for the subnet group.
    `CreateClusterSubnetGroupRequest` | `withSubnetIds(java.util.Collection<java.lang.String> subnetIds)` An array of VPC subnet IDs.
    `CreateClusterSubnetGroupRequest` | `withSubnetIds(java.lang.String... subnetIds)` An array of VPC subnet IDs.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateClusterSubnetGroupRequest

          public CreateClusterSubnetGroupRequest()

  - ### メソッドの詳細

    - #### getClusterSubnetGroupName

          public java.lang.String getClusterSubnetGroupName()

      The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

      Constraints:

      - Must contain no more than 255 alphanumeric characters or hyphens.
      - Must not be "Default".
      - Must be unique for all subnet groups that are created by your AWS account.

      Example: `examplesubnetgroup`

      戻り値:
        The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

        Constraints:

        - Must contain no more than 255 alphanumeric characters or hyphens.
        - Must not be "Default".
        - Must be unique for all subnet groups that are created by your AWS account.

        Example: `examplesubnetgroup`

    - #### setClusterSubnetGroupName

          public void setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)

      The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

      Constraints:

      - Must contain no more than 255 alphanumeric characters or hyphens.
      - Must not be "Default".
      - Must be unique for all subnet groups that are created by your AWS account.

      Example: `examplesubnetgroup`

      パラメータ:
        `clusterSubnetGroupName` - The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

        Constraints:

        - Must contain no more than 255 alphanumeric characters or hyphens.
        - Must not be "Default".
        - Must be unique for all subnet groups that are created by your AWS account.

        Example: `examplesubnetgroup`

    - #### withClusterSubnetGroupName

          public CreateClusterSubnetGroupRequest withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)

      The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

      Constraints:

      - Must contain no more than 255 alphanumeric characters or hyphens.
      - Must not be "Default".
      - Must be unique for all subnet groups that are created by your AWS account.

      Example: `examplesubnetgroup`

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

      パラメータ:
        `clusterSubnetGroupName` - The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

        Constraints:

        - Must contain no more than 255 alphanumeric characters or hyphens.
        - Must not be "Default".
        - Must be unique for all subnet groups that are created by your AWS account.

        Example: `examplesubnetgroup`

    - #### getDescription

          public java.lang.String getDescription()

      A description for the subnet group.
      戻り値:
        A description for the subnet group.

    - #### setDescription

          public void setDescription(java.lang.String description)

      A description for the subnet group.
      パラメータ:
        `description` - A description for the subnet group.

    - #### withDescription

          public CreateClusterSubnetGroupRequest withDescription(java.lang.String description)

      A description for the subnet group.

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

      パラメータ:
        `description` - A description for the subnet group.

    - #### getSubnetIds

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

      An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
      戻り値:
        An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

    - #### setSubnetIds

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

      An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
      パラメータ:
        `subnetIds` - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

    - #### withSubnetIds

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

      An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

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

      パラメータ:
        `subnetIds` - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

    - #### withSubnetIds

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

      An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

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

      パラメータ:
        `subnetIds` - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

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