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 ClusterVersion
clone()
boolean
equals(Object obj)
String
getClusterParameterGroupFamily()
The name of the cluster parameter group family for the cluster.String
getClusterVersion()
The version number used by the cluster.String
getDescription()
The description of the cluster version.int
hashCode()
void
setClusterParameterGroupFamily(String clusterParameterGroupFamily)
The name of the cluster parameter group family for the cluster.void
setClusterVersion(String clusterVersion)
The version number used by the cluster.void
setDescription(String description)
The description of the cluster version.String
toString()
Returns a string representation of this object; useful for testing and debugging.ClusterVersion
withClusterParameterGroupFamily(String clusterParameterGroupFamily)
The name of the cluster parameter group family for the cluster.ClusterVersion
withClusterVersion(String clusterVersion)
The version number used by the cluster.ClusterVersion
withDescription(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ClusterVersion clone()
-
-