public class DescribeReservedInstancesOfferingsRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
DescribeReservedInstancesOfferings operation
.
Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.
For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide .
NOOP
Constructor and Description |
---|
DescribeReservedInstancesOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used.
|
Request<DescribeReservedInstancesOfferingsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Boolean |
getIncludeMarketplace()
Include Marketplace offerings in the response.
|
String |
getInstanceTenancy()
The tenancy of the Reserved Instance offering.
|
String |
getInstanceType()
The instance type on which the Reserved Instance can be used.
|
Long |
getMaxDuration()
The maximum duration (in seconds) to filter when searching for
offerings.
|
Integer |
getMaxInstanceCount()
The maximum number of instances to filter when searching for
offerings.
|
Integer |
getMaxResults()
The maximum number of offerings to return.
|
Long |
getMinDuration()
The minimum duration (in seconds) to filter when searching for
offerings.
|
String |
getNextToken()
The token to use when requesting the next paginated set of offerings.
|
String |
getOfferingType()
The Reserved Instance offering type.
|
String |
getProductDescription()
The Reserved Instance description.
|
List<String> |
getReservedInstancesOfferingIds()
One or more Reserved Instances offering IDs.
|
int |
hashCode() |
Boolean |
isIncludeMarketplace()
Include Marketplace offerings in the response.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setIncludeMarketplace(Boolean includeMarketplace)
Include Marketplace offerings in the response.
|
void |
setInstanceTenancy(String instanceTenancy)
The tenancy of the Reserved Instance offering.
|
void |
setInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the Reserved Instance offering.
|
void |
setInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used.
|
void |
setInstanceType(String instanceType)
The instance type on which the Reserved Instance can be used.
|
void |
setMaxDuration(Long maxDuration)
The maximum duration (in seconds) to filter when searching for
offerings.
|
void |
setMaxInstanceCount(Integer maxInstanceCount)
The maximum number of instances to filter when searching for
offerings.
|
void |
setMaxResults(Integer maxResults)
The maximum number of offerings to return.
|
void |
setMinDuration(Long minDuration)
The minimum duration (in seconds) to filter when searching for
offerings.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next paginated set of offerings.
|
void |
setOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
void |
setOfferingType(String offeringType)
The Reserved Instance offering type.
|
void |
setProductDescription(RIProductDescription productDescription)
The Reserved Instance description.
|
void |
setProductDescription(String productDescription)
The Reserved Instance description.
|
void |
setReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesOfferingsRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
DescribeReservedInstancesOfferingsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeReservedInstancesOfferingsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeReservedInstancesOfferingsRequest |
withIncludeMarketplace(Boolean includeMarketplace)
Include Marketplace offerings in the response.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(String instanceTenancy)
The tenancy of the Reserved Instance offering.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the Reserved Instance offering.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceType(String instanceType)
The instance type on which the Reserved Instance can be used.
|
DescribeReservedInstancesOfferingsRequest |
withMaxDuration(Long maxDuration)
The maximum duration (in seconds) to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxInstanceCount(Integer maxInstanceCount)
The maximum number of instances to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxResults(Integer maxResults)
The maximum number of offerings to return.
|
DescribeReservedInstancesOfferingsRequest |
withMinDuration(Long minDuration)
The minimum duration (in seconds) to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withNextToken(String nextToken)
The token to use when requesting the next paginated set of offerings.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingType(String offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesOfferingsRequest |
withProductDescription(RIProductDescription productDescription)
The Reserved Instance description.
|
DescribeReservedInstancesOfferingsRequest |
withProductDescription(String productDescription)
The Reserved Instance description.
|
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(String... reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeReservedInstancesOfferingsRequest()
public List<String> getReservedInstancesOfferingIds()
public void setReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(String... reservedInstancesOfferingIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type on which the Reserved Instance can be used. For more
information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type on which the Reserved Instance can be used. For more
information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type on which the Reserved Instance can be used. For more
information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type on which the Reserved Instance can be used. For more
information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public String getProductDescription()
(Amazon VPC)
in the description are for use with Amazon
VPC.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
(Amazon VPC)
in the description are for use with Amazon
VPC.RIProductDescription
public void setProductDescription(String productDescription)
(Amazon VPC)
in the description are for use with Amazon
VPC.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- The Reserved Instance description. Instances that include
(Amazon VPC)
in the description are for use with Amazon
VPC.RIProductDescription
public DescribeReservedInstancesOfferingsRequest withProductDescription(String productDescription)
(Amazon VPC)
in the description are for use with Amazon
VPC.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- The Reserved Instance description. Instances that include
(Amazon VPC)
in the description are for use with Amazon
VPC.RIProductDescription
public void setProductDescription(RIProductDescription productDescription)
(Amazon VPC)
in the description are for use with Amazon
VPC.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- The Reserved Instance description. Instances that include
(Amazon VPC)
in the description are for use with Amazon
VPC.RIProductDescription
public DescribeReservedInstancesOfferingsRequest withProductDescription(RIProductDescription productDescription)
(Amazon VPC)
in the description are for use with Amazon
VPC.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
productDescription
- The Reserved Instance description. Instances that include
(Amazon VPC)
in the description are for use with Amazon
VPC.RIProductDescription
public List<Filter> getFilters()
availability-zone
- The
Availability Zone where the Reserved Instance can be used.
duration
- The duration of the Reserved Instance (for
example, one year or three years), in seconds.
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type on which the
Reserved Instance can be used.
marketplace
- Set to true
to show only Reserved Instance Marketplace
offerings. When this filter is not used, which is the default
behavior, all offerings from AWS and Reserved Instance Marketplace are
listed.
product-description
- The
description of the Reserved Instance (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
).
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The
usage price of the Reserved Instance, per hour (for example, 0.84).
availability-zone
- The
Availability Zone where the Reserved Instance can be used.
duration
- The duration of the Reserved Instance (for
example, one year or three years), in seconds.
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type on which the
Reserved Instance can be used.
marketplace
- Set to true
to show only Reserved Instance Marketplace
offerings. When this filter is not used, which is the default
behavior, all offerings from AWS and Reserved Instance Marketplace are
listed.
product-description
- The
description of the Reserved Instance (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
).
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The
usage price of the Reserved Instance, per hour (for example, 0.84).
public void setFilters(Collection<Filter> filters)
availability-zone
- The
Availability Zone where the Reserved Instance can be used.
duration
- The duration of the Reserved Instance (for
example, one year or three years), in seconds.
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type on which the
Reserved Instance can be used.
marketplace
- Set to true
to show only Reserved Instance Marketplace
offerings. When this filter is not used, which is the default
behavior, all offerings from AWS and Reserved Instance Marketplace are
listed.
product-description
- The
description of the Reserved Instance (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
).
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The
usage price of the Reserved Instance, per hour (for example, 0.84).
filters
- One or more filters. availability-zone
- The
Availability Zone where the Reserved Instance can be used.
duration
- The duration of the Reserved Instance (for
example, one year or three years), in seconds.
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type on which the
Reserved Instance can be used.
marketplace
- Set to true
to show only Reserved Instance Marketplace
offerings. When this filter is not used, which is the default
behavior, all offerings from AWS and Reserved Instance Marketplace are
listed.
product-description
- The
description of the Reserved Instance (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
).
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The
usage price of the Reserved Instance, per hour (for example, 0.84).
public DescribeReservedInstancesOfferingsRequest withFilters(Filter... filters)
availability-zone
- The
Availability Zone where the Reserved Instance can be used.
duration
- The duration of the Reserved Instance (for
example, one year or three years), in seconds.
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type on which the
Reserved Instance can be used.
marketplace
- Set to true
to show only Reserved Instance Marketplace
offerings. When this filter is not used, which is the default
behavior, all offerings from AWS and Reserved Instance Marketplace are
listed.
product-description
- The
description of the Reserved Instance (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
).
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The
usage price of the Reserved Instance, per hour (for example, 0.84).
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. availability-zone
- The
Availability Zone where the Reserved Instance can be used.
duration
- The duration of the Reserved Instance (for
example, one year or three years), in seconds.
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type on which the
Reserved Instance can be used.
marketplace
- Set to true
to show only Reserved Instance Marketplace
offerings. When this filter is not used, which is the default
behavior, all offerings from AWS and Reserved Instance Marketplace are
listed.
product-description
- The
description of the Reserved Instance (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
).
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The
usage price of the Reserved Instance, per hour (for example, 0.84).
public DescribeReservedInstancesOfferingsRequest withFilters(Collection<Filter> filters)
availability-zone
- The
Availability Zone where the Reserved Instance can be used.
duration
- The duration of the Reserved Instance (for
example, one year or three years), in seconds.
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type on which the
Reserved Instance can be used.
marketplace
- Set to true
to show only Reserved Instance Marketplace
offerings. When this filter is not used, which is the default
behavior, all offerings from AWS and Reserved Instance Marketplace are
listed.
product-description
- The
description of the Reserved Instance (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
).
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The
usage price of the Reserved Instance, per hour (for example, 0.84).
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. availability-zone
- The
Availability Zone where the Reserved Instance can be used.
duration
- The duration of the Reserved Instance (for
example, one year or three years), in seconds.
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type on which the
Reserved Instance can be used.
marketplace
- Set to true
to show only Reserved Instance Marketplace
offerings. When this filter is not used, which is the default
behavior, all offerings from AWS and Reserved Instance Marketplace are
listed.
product-description
- The
description of the Reserved Instance (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
).
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The
usage price of the Reserved Instance, per hour (for example, 0.84).
public String getInstanceTenancy()
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Constraints:
Allowed Values: default, dedicated
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public void setInstanceTenancy(String instanceTenancy)
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Constraints:
Allowed Values: default, dedicated
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(String instanceTenancy)
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public void setInstanceTenancy(Tenancy instanceTenancy)
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Constraints:
Allowed Values: default, dedicated
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(Tenancy instanceTenancy)
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public String getOfferingType()
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
OfferingTypeValues
public void setOfferingType(String offeringType)
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
offeringType
- The Reserved Instance offering type.OfferingTypeValues
public DescribeReservedInstancesOfferingsRequest withOfferingType(String offeringType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
offeringType
- The Reserved Instance offering type.OfferingTypeValues
public void setOfferingType(OfferingTypeValues offeringType)
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
offeringType
- The Reserved Instance offering type.OfferingTypeValues
public DescribeReservedInstancesOfferingsRequest withOfferingType(OfferingTypeValues offeringType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
offeringType
- The Reserved Instance offering type.OfferingTypeValues
public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The token to use when requesting the next paginated set of offerings.public DescribeReservedInstancesOfferingsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to use when requesting the next paginated set of offerings.public Integer getMaxResults()
public void setMaxResults(Integer maxResults)
maxResults
- The maximum number of offerings to return.public DescribeReservedInstancesOfferingsRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
maxResults
- The maximum number of offerings to return.public Boolean isIncludeMarketplace()
public void setIncludeMarketplace(Boolean includeMarketplace)
includeMarketplace
- Include Marketplace offerings in the response.public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(Boolean includeMarketplace)
Returns a reference to this object so that method calls can be chained together.
includeMarketplace
- Include Marketplace offerings in the response.public Boolean getIncludeMarketplace()
public Long getMinDuration()
public void setMinDuration(Long minDuration)
minDuration
- The minimum duration (in seconds) to filter when searching for
offerings.public DescribeReservedInstancesOfferingsRequest withMinDuration(Long minDuration)
Returns a reference to this object so that method calls can be chained together.
minDuration
- The minimum duration (in seconds) to filter when searching for
offerings.public Long getMaxDuration()
public void setMaxDuration(Long maxDuration)
maxDuration
- The maximum duration (in seconds) to filter when searching for
offerings.public DescribeReservedInstancesOfferingsRequest withMaxDuration(Long maxDuration)
Returns a reference to this object so that method calls can be chained together.
maxDuration
- The maximum duration (in seconds) to filter when searching for
offerings.public Integer getMaxInstanceCount()
public void setMaxInstanceCount(Integer maxInstanceCount)
maxInstanceCount
- The maximum number of instances to filter when searching for
offerings.public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(Integer maxInstanceCount)
Returns a reference to this object so that method calls can be chained together.
maxInstanceCount
- The maximum number of instances to filter when searching for
offerings.public Request<DescribeReservedInstancesOfferingsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.