Class ModifyClusterSubnetGroupRequest

    • Constructor Detail

      • ModifyClusterSubnetGroupRequest

        public ModifyClusterSubnetGroupRequest()
    • Method Detail

      • setClusterSubnetGroupName

        public void setClusterSubnetGroupName​(String clusterSubnetGroupName)

        The name of the subnet group to be modified.

        Parameters:
        clusterSubnetGroupName - The name of the subnet group to be modified.
      • getClusterSubnetGroupName

        public String getClusterSubnetGroupName()

        The name of the subnet group to be modified.

        Returns:
        The name of the subnet group to be modified.
      • withClusterSubnetGroupName

        public ModifyClusterSubnetGroupRequest withClusterSubnetGroupName​(String clusterSubnetGroupName)

        The name of the subnet group to be modified.

        Parameters:
        clusterSubnetGroupName - The name of the subnet group to be modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        A text description of the subnet group to be modified.

        Parameters:
        description - A text description of the subnet group to be modified.
      • getDescription

        public String getDescription()

        A text description of the subnet group to be modified.

        Returns:
        A text description of the subnet group to be modified.
      • withDescription

        public ModifyClusterSubnetGroupRequest withDescription​(String description)

        A text description of the subnet group to be modified.

        Parameters:
        description - A text description of the subnet group to be modified.
        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 ModifyClusterSubnetGroupRequest 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 ModifyClusterSubnetGroupRequest 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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object