public class DescribeReservedNodeOfferingsRequest extends AmazonWebServiceRequest implements Serializable
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 .
Constructor and Description |
---|
DescribeReservedNodeOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DescribeReservedNodeOfferingsRequest()
public String getReservedNodeOfferingId()
public void setReservedNodeOfferingId(String reservedNodeOfferingId)
reservedNodeOfferingId
- The unique identifier for the offering.public DescribeReservedNodeOfferingsRequest withReservedNodeOfferingId(String reservedNodeOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedNodeOfferingId
- The unique identifier for the offering.public Integer getMaxRecords()
MaxRecords
value, a
marker is included in the response so that the remaining results may
be retrieved. Default: 100
Constraints: minimum 20, maximum 100.
MaxRecords
value, a
marker is included in the response so that the remaining results may
be retrieved. Default: 100
Constraints: minimum 20, maximum 100.
public void setMaxRecords(Integer maxRecords)
MaxRecords
value, a
marker is included in the response so that the remaining results may
be retrieved. Default: 100
Constraints: minimum 20, maximum 100.
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.
public DescribeReservedNodeOfferingsRequest withMaxRecords(Integer maxRecords)
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.
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.
public String getMarker()
You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
public void setMarker(String marker)
You can specify either a Marker parameter or a ClusterIdentifier parameter in a DescribeClusters request, but not both.
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.
public DescribeReservedNodeOfferingsRequest withMarker(String marker)
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.
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.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.