Class ModifyClusterSubnetGroupRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.ModifyClusterSubnetGroupRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ModifyClusterSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • ModifyClusterSubnetGroupRequest

      public ModifyClusterSubnetGroupRequest()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: