Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class DescribeOrderableClusterOptionsRequest

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

public class DescribeOrderableClusterOptionsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeOrderableClusterOptions operation.

Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific AWS region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Management Guide

See Also:
AmazonRedshift.describeOrderableClusterOptions(DescribeOrderableClusterOptionsRequest), Serialized Form

Constructor Summary
DescribeOrderableClusterOptionsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterVersion()
          The version filter value.
 String getMarker()
          An optional marker returned from a previous DescribeOrderableClusterOptions request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 String getNodeType()
          The node type filter value.
 int hashCode()
           
 void setClusterVersion(String clusterVersion)
          The version filter value.
 void setMarker(String marker)
          An optional marker returned from a previous DescribeOrderableClusterOptions request.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 void setNodeType(String nodeType)
          The node type filter value.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeOrderableClusterOptionsRequest withClusterVersion(String clusterVersion)
          The version filter value.
 DescribeOrderableClusterOptionsRequest withMarker(String marker)
          An optional marker returned from a previous DescribeOrderableClusterOptions request.
 DescribeOrderableClusterOptionsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 DescribeOrderableClusterOptionsRequest withNodeType(String nodeType)
          The node type filter value.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeOrderableClusterOptionsRequest

public DescribeOrderableClusterOptionsRequest()
Method Detail

getClusterVersion

public String getClusterVersion()
The version filter value. Specify this parameter to show only the available offerings matching the specified version.

Default: All versions.

Constraints: Must be one of the version returned from DescribeClusterVersions.

Returns:
The version filter value. Specify this parameter to show only the available offerings matching the specified version.

Default: All versions.

Constraints: Must be one of the version returned from DescribeClusterVersions.


setClusterVersion

public void setClusterVersion(String clusterVersion)
The version filter value. Specify this parameter to show only the available offerings matching the specified version.

Default: All versions.

Constraints: Must be one of the version returned from DescribeClusterVersions.

Parameters:
clusterVersion - The version filter value. Specify this parameter to show only the available offerings matching the specified version.

Default: All versions.

Constraints: Must be one of the version returned from DescribeClusterVersions.


withClusterVersion

public DescribeOrderableClusterOptionsRequest withClusterVersion(String clusterVersion)
The version filter value. Specify this parameter to show only the available offerings matching the specified version.

Default: All versions.

Constraints: Must be one of the version returned from DescribeClusterVersions.

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

Parameters:
clusterVersion - The version filter value. Specify this parameter to show only the available offerings matching the specified version.

Default: All versions.

Constraints: Must be one of the version returned from DescribeClusterVersions.

Returns:
A reference to this updated object so that method calls can be chained together.

getNodeType

public String getNodeType()
The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.

Returns:
The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.

setNodeType

public void setNodeType(String nodeType)
The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.

Parameters:
nodeType - The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.

withNodeType

public DescribeOrderableClusterOptionsRequest withNodeType(String nodeType)
The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.

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

Parameters:
nodeType - The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.

Returns:
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.


setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.


withMaxRecords

public DescribeOrderableClusterOptionsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.

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

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.

Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
An optional marker returned from a previous DescribeOrderableClusterOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns:
An optional marker returned from a previous DescribeOrderableClusterOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

setMarker

public void setMarker(String marker)
An optional marker returned from a previous DescribeOrderableClusterOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Parameters:
marker - An optional marker returned from a previous DescribeOrderableClusterOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

withMarker

public DescribeOrderableClusterOptionsRequest withMarker(String marker)
An optional marker returned from a previous DescribeOrderableClusterOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

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

Parameters:
marker - An optional marker returned from a previous DescribeOrderableClusterOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
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.