@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedNodesOfferingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeReservedNodesOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedNodesOfferingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDuration()
Duration filter value, specified in years or seconds.
|
Integer |
getMaxResults()
The maximum number of records to include in the response.
|
String |
getNextToken()
An optional marker returned from a prior request.
|
String |
getNodeType()
The node type for the reserved nodes.
|
String |
getOfferingType()
The offering type filter value.
|
String |
getReservedNodesOfferingId()
The offering identifier filter value.
|
int |
hashCode() |
void |
setDuration(String duration)
Duration filter value, specified in years or seconds.
|
void |
setMaxResults(Integer maxResults)
The maximum number of records to include in the response.
|
void |
setNextToken(String nextToken)
An optional marker returned from a prior request.
|
void |
setNodeType(String nodeType)
The node type for the reserved nodes.
|
void |
setOfferingType(String offeringType)
The offering type filter value.
|
void |
setReservedNodesOfferingId(String reservedNodesOfferingId)
The offering identifier filter value.
|
String |
toString()
Returns a string representation of this object.
|
DescribeReservedNodesOfferingsRequest |
withDuration(String duration)
Duration filter value, specified in years or seconds.
|
DescribeReservedNodesOfferingsRequest |
withMaxResults(Integer maxResults)
The maximum number of records to include in the response.
|
DescribeReservedNodesOfferingsRequest |
withNextToken(String nextToken)
An optional marker returned from a prior request.
|
DescribeReservedNodesOfferingsRequest |
withNodeType(String nodeType)
The node type for the reserved nodes.
|
DescribeReservedNodesOfferingsRequest |
withOfferingType(String offeringType)
The offering type filter value.
|
DescribeReservedNodesOfferingsRequest |
withReservedNodesOfferingId(String reservedNodesOfferingId)
The offering identifier filter value.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeReservedNodesOfferingsRequest()
public void setReservedNodesOfferingId(String reservedNodesOfferingId)
The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
reservedNodesOfferingId
- The offering identifier filter value. Use this parameter to show only the available offering that matches
the specified reservation identifier.public String getReservedNodesOfferingId()
The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
public DescribeReservedNodesOfferingsRequest withReservedNodesOfferingId(String reservedNodesOfferingId)
The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
reservedNodesOfferingId
- The offering identifier filter value. Use this parameter to show only the available offering that matches
the specified reservation identifier.public void setNodeType(String nodeType)
The node type for the reserved nodes. For more information, see Supported node types.
nodeType
- The node type for the reserved nodes. For more information, see Supported node types.public String getNodeType()
The node type for the reserved nodes. For more information, see Supported node types.
public DescribeReservedNodesOfferingsRequest withNodeType(String nodeType)
The node type for the reserved nodes. For more information, see Supported node types.
nodeType
- The node type for the reserved nodes. For more information, see Supported node types.public void setDuration(String duration)
Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration.
duration
- Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a
given duration.public String getDuration()
Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration.
public DescribeReservedNodesOfferingsRequest withDuration(String duration)
Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a given duration.
duration
- Duration filter value, specified in years or seconds. Use this parameter to show only reservations for a
given duration.public void setOfferingType(String offeringType)
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
offeringType
- The offering type filter value. Use this parameter to show only the available offerings matching the
specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"public String getOfferingType()
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
public DescribeReservedNodesOfferingsRequest withOfferingType(String offeringType)
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
offeringType
- The offering type filter value. Use this parameter to show only the available offerings matching the
specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"public void setMaxResults(Integer maxResults)
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.
maxResults
- 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.public Integer getMaxResults()
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.
public DescribeReservedNodesOfferingsRequest withMaxResults(Integer maxResults)
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.
maxResults
- 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.public void setNextToken(String nextToken)
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.
nextToken
- 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 getNextToken()
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 DescribeReservedNodesOfferingsRequest withNextToken(String nextToken)
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.
nextToken
- 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()
public DescribeReservedNodesOfferingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()