Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class ClusterVersion

java.lang.Object
  extended by com.amazonaws.services.redshift.model.ClusterVersion
All Implemented Interfaces:
Serializable

public class ClusterVersion
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
ClusterVersion()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterVersion

public ClusterVersion()
Method Detail

getClusterVersion

public String getClusterVersion()
The version number used by the cluster.

Returns:
The version number used by the cluster.

setClusterVersion

public void setClusterVersion(String clusterVersion)
The version number used by the cluster.

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

withClusterVersion

public ClusterVersion withClusterVersion(String clusterVersion)
The version number used by the cluster.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withClusterParameterGroupFamily

public ClusterVersion withClusterParameterGroupFamily(String clusterParameterGroupFamily)
The name of the cluster parameter group family for the cluster.

Returns a reference to this object so that method calls can be chained together.

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

getDescription

public String getDescription()
The description of the cluster version.

Returns:
The description of the cluster version.

setDescription

public void setDescription(String description)
The description of the cluster version.

Parameters:
description - The description of the cluster version.

withDescription

public ClusterVersion withDescription(String description)
The description of the cluster version.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The description of the cluster version.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.