Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class DescribeReservedNodeOfferingsRequest

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

public class DescribeReservedNodeOfferingsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeReservedNodeOfferings operation.

Returns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon Redshift cluster.

For more information about managing parameter groups, go to Purchasing Reserved Nodes in the Amazon Redshift Management Guide .

See Also:
AmazonRedshift.describeReservedNodeOfferings(DescribeReservedNodeOfferingsRequest), Serialized Form

Constructor Summary
DescribeReservedNodeOfferingsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMarker()
          An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 String getReservedNodeOfferingId()
          The unique identifier for the offering.
 int hashCode()
           
 void setMarker(String marker)
          An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 void setReservedNodeOfferingId(String reservedNodeOfferingId)
          The unique identifier for the offering.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedNodeOfferingsRequest withMarker(String marker)
          An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.
 DescribeReservedNodeOfferingsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 DescribeReservedNodeOfferingsRequest withReservedNodeOfferingId(String reservedNodeOfferingId)
          The unique identifier for the offering.
 
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

DescribeReservedNodeOfferingsRequest

public DescribeReservedNodeOfferingsRequest()
Method Detail

getReservedNodeOfferingId

public String getReservedNodeOfferingId()
The unique identifier for the offering.

Returns:
The unique identifier for the offering.

setReservedNodeOfferingId

public void setReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier for the offering.

Parameters:
reservedNodeOfferingId - The unique identifier for the offering.

withReservedNodeOfferingId

public DescribeReservedNodeOfferingsRequest withReservedNodeOfferingId(String reservedNodeOfferingId)
The unique identifier for the offering.

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

Parameters:
reservedNodeOfferingId - The unique identifier for the offering.
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 DescribeReservedNodeOfferingsRequest 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 by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.

You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.

Returns:
An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.

You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.


setMarker

public void setMarker(String marker)
An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.

You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.

Parameters:
marker - An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.

You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.


withMarker

public DescribeReservedNodeOfferingsRequest withMarker(String marker)
An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.

You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.

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

Parameters:
marker - An optional marker returned by a previous DescribeReservedNodeOfferings request to indicate the first offering that the request will return.

You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.

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.