Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class OrderableClusterOption

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

public class OrderableClusterOption
extends Object
implements Serializable

Describes an orderable cluster option.

See Also:
Serialized Form

Constructor Summary
OrderableClusterOption()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<AvailabilityZone> getAvailabilityZones()
          A list of availability zones for the orderable cluster.
 String getClusterType()
          The cluster type, for example multi-node.
 String getClusterVersion()
          The version of the orderable cluster.
 String getNodeType()
          The node type for the orderable cluster.
 int hashCode()
           
 void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
          A list of availability zones for the orderable cluster.
 void setClusterType(String clusterType)
          The cluster type, for example multi-node.
 void setClusterVersion(String clusterVersion)
          The version of the orderable cluster.
 void setNodeType(String nodeType)
          The node type for the orderable cluster.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 OrderableClusterOption withAvailabilityZones(AvailabilityZone... availabilityZones)
          A list of availability zones for the orderable cluster.
 OrderableClusterOption withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
          A list of availability zones for the orderable cluster.
 OrderableClusterOption withClusterType(String clusterType)
          The cluster type, for example multi-node.
 OrderableClusterOption withClusterVersion(String clusterVersion)
          The version of the orderable cluster.
 OrderableClusterOption withNodeType(String nodeType)
          The node type for the orderable cluster.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderableClusterOption

public OrderableClusterOption()
Method Detail

getClusterVersion

public String getClusterVersion()
The version of the orderable cluster.

Returns:
The version of the orderable cluster.

setClusterVersion

public void setClusterVersion(String clusterVersion)
The version of the orderable cluster.

Parameters:
clusterVersion - The version of the orderable cluster.

withClusterVersion

public OrderableClusterOption withClusterVersion(String clusterVersion)
The version of the orderable cluster.

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

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

getClusterType

public String getClusterType()
The cluster type, for example multi-node.

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

setClusterType

public void setClusterType(String clusterType)
The cluster type, for example multi-node.

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

withClusterType

public OrderableClusterOption withClusterType(String clusterType)
The cluster type, for example multi-node.

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

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

getNodeType

public String getNodeType()
The node type for the orderable cluster.

Returns:
The node type for the orderable cluster.

setNodeType

public void setNodeType(String nodeType)
The node type for the orderable cluster.

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

withNodeType

public OrderableClusterOption withNodeType(String nodeType)
The node type for the orderable cluster.

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

Parameters:
nodeType - The node type for the orderable cluster.
Returns:
A reference to this updated 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.

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

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

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

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