public class DescribeReservedCacheNodesOfferingsRequest extends AmazonWebServiceRequest implements Serializable
DescribeReservedCacheNodesOfferings operation
.
The DescribeReservedCacheNodesOfferings operation lists available reserved cache node offerings.
Constructor and Description |
---|
DescribeReservedCacheNodesOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCacheNodeType()
The cache node type filter value.
|
String |
getDuration()
Duration filter value, specified in years or seconds.
|
String |
getMarker()
An optional marker returned from a prior request.
|
Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
String |
getOfferingType()
The offering type filter value.
|
String |
getProductDescription()
The product description filter value.
|
String |
getReservedCacheNodesOfferingId()
The offering identifier filter value.
|
int |
hashCode() |
void |
setCacheNodeType(String cacheNodeType)
The cache node type filter value.
|
void |
setDuration(String duration)
Duration filter value, specified in years or seconds.
|
void |
setMarker(String marker)
An optional marker returned from a prior request.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
void |
setOfferingType(String offeringType)
The offering type filter value.
|
void |
setProductDescription(String productDescription)
The product description filter value.
|
void |
setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier filter value.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedCacheNodesOfferingsRequest |
withCacheNodeType(String cacheNodeType)
The cache node type filter value.
|
DescribeReservedCacheNodesOfferingsRequest |
withDuration(String duration)
Duration filter value, specified in years or seconds.
|
DescribeReservedCacheNodesOfferingsRequest |
withMarker(String marker)
An optional marker returned from a prior request.
|
DescribeReservedCacheNodesOfferingsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeReservedCacheNodesOfferingsRequest |
withOfferingType(String offeringType)
The offering type filter value.
|
DescribeReservedCacheNodesOfferingsRequest |
withProductDescription(String productDescription)
The product description filter value.
|
DescribeReservedCacheNodesOfferingsRequest |
withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier filter value.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DescribeReservedCacheNodesOfferingsRequest()
public String getReservedCacheNodesOfferingId()
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
reservedCacheNodesOfferingId
- The offering identifier filter value. Use this parameter to show only
the available offering that matches the specified reservation
identifier. Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
public DescribeReservedCacheNodesOfferingsRequest withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodesOfferingId
- The offering identifier filter value. Use this parameter to show only
the available offering that matches the specified reservation
identifier. Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
public String getCacheNodeType()
public void setCacheNodeType(String cacheNodeType)
cacheNodeType
- The cache node type filter value. Use this parameter to show only the
available offerings matching the specified cache node type.public DescribeReservedCacheNodesOfferingsRequest withCacheNodeType(String cacheNodeType)
Returns a reference to this object so that method calls can be chained together.
cacheNodeType
- The cache node type filter value. Use this parameter to show only the
available offerings matching the specified cache node type.public String getDuration()
Valid
Values: 1 | 3 | 31536000 | 94608000
Valid
Values: 1 | 3 | 31536000 | 94608000
public void setDuration(String duration)
Valid
Values: 1 | 3 | 31536000 | 94608000
duration
- Duration filter value, specified in years or seconds. Use this
parameter to show only reservations for a given duration. Valid
Values: 1 | 3 | 31536000 | 94608000
public DescribeReservedCacheNodesOfferingsRequest withDuration(String duration)
Valid
Values: 1 | 3 | 31536000 | 94608000
Returns a reference to this object so that method calls can be chained together.
duration
- Duration filter value, specified in years or seconds. Use this
parameter to show only reservations for a given duration. Valid
Values: 1 | 3 | 31536000 | 94608000
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The product description filter value. Use this parameter to show only
the available offerings matching the specified product description.public DescribeReservedCacheNodesOfferingsRequest withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription
- The product description filter value. Use this parameter to show only
the available offerings matching the specified product description.public String getOfferingType()
Valid
Values: "Light Utilization" | "Medium Utilization" | "Heavy
Utilization"
Valid
Values: "Light Utilization" | "Medium Utilization" | "Heavy
Utilization"
public void setOfferingType(String offeringType)
Valid
Values: "Light Utilization" | "Medium Utilization" | "Heavy
Utilization"
offeringType
- The offering type filter value. Use this parameter to show only the
available offerings matching the specified offering type. Valid
Values: "Light Utilization" | "Medium Utilization" | "Heavy
Utilization"
public DescribeReservedCacheNodesOfferingsRequest withOfferingType(String offeringType)
Valid
Values: "Light Utilization" | "Medium Utilization" | "Heavy
Utilization"
Returns a reference to this object so that method calls can be chained together.
offeringType
- The offering type filter value. Use this parameter to show only the
available offerings matching the specified offering type. Valid
Values: "Light Utilization" | "Medium Utilization" | "Heavy
Utilization"
public Integer getMaxRecords()
MaxRecords
value, a
marker is included in the response so that the remaining results can
be retrieved. Default: 100
Constraints: minimum 20; maximum 100.
MaxRecords
value, a
marker is included in the response so that the remaining results can
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 can
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 can
be retrieved. Default: 100
Constraints: minimum 20; maximum 100.
public DescribeReservedCacheNodesOfferingsRequest withMaxRecords(Integer maxRecords)
MaxRecords
value, a
marker is included in the response so that the remaining results can
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 can
be retrieved. Default: 100
Constraints: minimum 20; maximum 100.
public String getMarker()
public void setMarker(String marker)
marker
- An optional marker returned from a prior request. Use this marker for
pagination of results from this operation. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords.public DescribeReservedCacheNodesOfferingsRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- An optional marker returned from a prior request. Use this marker for
pagination of results from this operation. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.