Class OrderableClusterOption

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

public class OrderableClusterOption extends Object implements Serializable, Cloneable

Describes an orderable cluster option.

See Also:
  • Constructor Details

    • OrderableClusterOption

      public OrderableClusterOption()
  • Method Details

    • setClusterVersion

      public void setClusterVersion(String clusterVersion)

      The version of the orderable cluster.

      Parameters:
      clusterVersion - The version of the orderable cluster.
    • getClusterVersion

      public String getClusterVersion()

      The version of the orderable cluster.

      Returns:
      The version of the orderable cluster.
    • withClusterVersion

      public OrderableClusterOption withClusterVersion(String clusterVersion)

      The version of the orderable cluster.

      Parameters:
      clusterVersion - The version of the orderable cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setClusterType

      public void setClusterType(String clusterType)

      The cluster type, for example multi-node.

      Parameters:
      clusterType - The cluster type, for example multi-node.
    • getClusterType

      public String getClusterType()

      The cluster type, for example multi-node.

      Returns:
      The cluster type, for example multi-node.
    • withClusterType

      public OrderableClusterOption withClusterType(String clusterType)

      The cluster type, for example multi-node.

      Parameters:
      clusterType - The cluster type, for example multi-node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNodeType

      public void setNodeType(String nodeType)

      The node type for the orderable cluster.

      Parameters:
      nodeType - The node type for the orderable cluster.
    • getNodeType

      public String getNodeType()

      The node type for the orderable cluster.

      Returns:
      The node type for the orderable cluster.
    • withNodeType

      public OrderableClusterOption withNodeType(String nodeType)

      The node type for the orderable cluster.

      Parameters:
      nodeType - The node type for the orderable cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getAvailabilityZones

      public List<AvailabilityZone> getAvailabilityZones()

      A list of availability zones for the orderable cluster.

      Returns:
      A list of availability zones for the orderable cluster.
    • setAvailabilityZones

      public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)

      A list of availability zones for the orderable cluster.

      Parameters:
      availabilityZones - A list of availability zones for the orderable cluster.
    • withAvailabilityZones

      public OrderableClusterOption withAvailabilityZones(AvailabilityZone... availabilityZones)

      A list of availability zones for the orderable cluster.

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

      Parameters:
      availabilityZones - A list of availability zones for the orderable cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withAvailabilityZones

      public OrderableClusterOption withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)

      A list of availability zones for the orderable cluster.

      Parameters:
      availabilityZones - A list of availability zones for the orderable cluster.
      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

      public OrderableClusterOption clone()
      Overrides:
      clone in class Object