JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.redshift.model

Class CreateClusterSubnetGroupRequest

    • Constructor Detail

      • CreateClusterSubnetGroupRequest

        public CreateClusterSubnetGroupRequest()
    • Method Detail

      • setClusterSubnetGroupName

        public void setClusterSubnetGroupName(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 Amazon Web Services account.

        Example: examplesubnetgroup

        Parameters:
        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 Amazon Web Services account.

        Example: examplesubnetgroup

      • getClusterSubnetGroupName

        public 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 Amazon Web Services account.

        Example: examplesubnetgroup

        Returns:
        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 Amazon Web Services account.

        Example: examplesubnetgroup

      • withClusterSubnetGroupName

        public CreateClusterSubnetGroupRequest withClusterSubnetGroupName(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 Amazon Web Services account.

        Example: examplesubnetgroup

        Parameters:
        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 Amazon Web Services account.

        Example: examplesubnetgroup

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

        public void setDescription(String description)

        A description for the subnet group.

        Parameters:
        description - A description for the subnet group.
      • getDescription

        public String getDescription()

        A description for the subnet group.

        Returns:
        A description for the subnet group.
      • withDescription

        public CreateClusterSubnetGroupRequest withDescription(String description)

        A description for the subnet group.

        Parameters:
        description - A description for the subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSubnetIds

        public List<String> getSubnetIds()

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

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

        public void setSubnetIds(Collection<String> subnetIds)

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

        Parameters:
        subnetIds - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
      • withSubnetIds

        public CreateClusterSubnetGroupRequest withSubnetIds(String... subnetIds)

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

        NOTE: This method appends the values to the existing list (if any). Use setSubnetIds(java.util.Collection) or withSubnetIds(java.util.Collection) if you want to override the existing values.

        Parameters:
        subnetIds - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSubnetIds

        public CreateClusterSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)

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

        Parameters:
        subnetIds - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        A list of tag instances.

        Returns:
        A list of tag instances.
      • setTags

        public void setTags(Collection<Tag> tags)

        A list of tag instances.

        Parameters:
        tags - A list of tag instances.
      • withTags

        public CreateClusterSubnetGroupRequest withTags(Collection<Tag> tags)

        A list of tag instances.

        Parameters:
        tags - A list of tag instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /