Class ClusterVersion

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

public class ClusterVersion extends Object implements Serializable, Cloneable

Describes a cluster version, including the parameter group family and description of the version.

See Also:
  • Constructor Details

    • ClusterVersion

      public ClusterVersion()
  • Method Details

    • setClusterVersion

      public void setClusterVersion(String clusterVersion)

      The version number used by the cluster.

      Parameters:
      clusterVersion - The version number used by the cluster.
    • getClusterVersion

      public String getClusterVersion()

      The version number used by the cluster.

      Returns:
      The version number used by the cluster.
    • withClusterVersion

      public ClusterVersion withClusterVersion(String clusterVersion)

      The version number used by the cluster.

      Parameters:
      clusterVersion - The version number used by the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setClusterParameterGroupFamily

      public void setClusterParameterGroupFamily(String clusterParameterGroupFamily)

      The name of the cluster parameter group family for the cluster.

      Parameters:
      clusterParameterGroupFamily - The name of the cluster parameter group family for the cluster.
    • getClusterParameterGroupFamily

      public String getClusterParameterGroupFamily()

      The name of the cluster parameter group family for the cluster.

      Returns:
      The name of the cluster parameter group family for the cluster.
    • withClusterParameterGroupFamily

      public ClusterVersion withClusterParameterGroupFamily(String clusterParameterGroupFamily)

      The name of the cluster parameter group family for the cluster.

      Parameters:
      clusterParameterGroupFamily - The name of the cluster parameter group family for the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      The description of the cluster version.

      Parameters:
      description - The description of the cluster version.
    • getDescription

      public String getDescription()

      The description of the cluster version.

      Returns:
      The description of the cluster version.
    • withDescription

      public ClusterVersion withDescription(String description)

      The description of the cluster version.

      Parameters:
      description - The description of the cluster version.
      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 ClusterVersion clone()
      Overrides:
      clone in class Object