public class DescribeReservedCacheNodesRequest extends AmazonWebServiceRequest implements Serializable
DescribeReservedCacheNodes operation
.
The DescribeReservedCacheNodes operation returns information about reserved cache nodes for this account, or about a specified reserved cache node.
NOOP
Constructor and Description |
---|
DescribeReservedCacheNodesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCacheNodeType()
The cache node type filter value.
|
String |
getDuration()
The 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 |
getReservedCacheNodeId()
The reserved cache node identifier 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)
The 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 |
setReservedCacheNodeId(String reservedCacheNodeId)
The reserved cache node identifier 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.
|
DescribeReservedCacheNodesRequest |
withCacheNodeType(String cacheNodeType)
The cache node type filter value.
|
DescribeReservedCacheNodesRequest |
withDuration(String duration)
The duration filter value, specified in years or seconds.
|
DescribeReservedCacheNodesRequest |
withMarker(String marker)
An optional marker returned from a prior request.
|
DescribeReservedCacheNodesRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeReservedCacheNodesRequest |
withOfferingType(String offeringType)
The offering type filter value.
|
DescribeReservedCacheNodesRequest |
withProductDescription(String productDescription)
The product description filter value.
|
DescribeReservedCacheNodesRequest |
withReservedCacheNodeId(String reservedCacheNodeId)
The reserved cache node identifier filter value.
|
DescribeReservedCacheNodesRequest |
withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier filter value.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getReservedCacheNodeId()
public void setReservedCacheNodeId(String reservedCacheNodeId)
reservedCacheNodeId
- The reserved cache node identifier filter value. Use this parameter to
show only the reservation that matches the specified reservation ID.public DescribeReservedCacheNodesRequest withReservedCacheNodeId(String reservedCacheNodeId)
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodeId
- The reserved cache node identifier filter value. Use this parameter to
show only the reservation that matches the specified reservation ID.public String getReservedCacheNodesOfferingId()
public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
reservedCacheNodesOfferingId
- The offering identifier filter value. Use this parameter to show only
purchased reservations matching the specified offering identifier.public DescribeReservedCacheNodesRequest withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
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
purchased reservations matching the specified offering identifier.public String getCacheNodeType()
public void setCacheNodeType(String cacheNodeType)
cacheNodeType
- The cache node type filter value. Use this parameter to show only
those reservations matching the specified cache node type.public DescribeReservedCacheNodesRequest 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
those reservations 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
- The duration filter value, specified in years or seconds. Use this
parameter to show only reservations for this duration. Valid
Values: 1 | 3 | 31536000 | 94608000
public DescribeReservedCacheNodesRequest withDuration(String duration)
Valid
Values: 1 | 3 | 31536000 | 94608000
Returns a reference to this object so that method calls can be chained together.
duration
- The duration filter value, specified in years or seconds. Use this
parameter to show only reservations for this 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
those reservations matching the specified product description.public DescribeReservedCacheNodesRequest 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
those reservations 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 DescribeReservedCacheNodesRequest 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 DescribeReservedCacheNodesRequest 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 DescribeReservedCacheNodesRequest 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 © 2015. All rights reserved.