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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterVersionclone()booleanequals(Object obj)StringgetClusterParameterGroupFamily()The name of the cluster parameter group family for the cluster.StringgetClusterVersion()The version number used by the cluster.StringgetDescription()The description of the cluster version.inthashCode()voidsetClusterParameterGroupFamily(String clusterParameterGroupFamily)The name of the cluster parameter group family for the cluster.voidsetClusterVersion(String clusterVersion)The version number used by the cluster.voidsetDescription(String description)The description of the cluster version.StringtoString()Returns a string representation of this object; useful for testing and debugging.ClusterVersionwithClusterParameterGroupFamily(String clusterParameterGroupFamily)The name of the cluster parameter group family for the cluster.ClusterVersionwithClusterVersion(String clusterVersion)The version number used by the cluster.ClusterVersionwithDescription(String description)The description of the cluster version.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ClusterVersion clone()
-
-