public class DescribeReservedInstancesOfferingsRequest extends AmazonWebServiceRequest implements java.io.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.
If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, they will be excluded from these results. This is to ensure that you do not purchase your own Reserved Instances.
For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide .
Constructor and Description |
---|
DescribeReservedInstancesOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used.
|
Request<DescribeReservedInstancesOfferingsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
One or more filters.
|
java.lang.Boolean |
getIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
|
java.lang.String |
getInstanceTenancy()
The tenancy of the instances covered by the reservation.
|
java.lang.String |
getInstanceType()
The instance type that the reservation will cover (for example,
m1.small ). |
java.lang.Long |
getMaxDuration()
The maximum duration (in seconds) to filter when searching for
offerings.
|
java.lang.Integer |
getMaxInstanceCount()
The maximum number of instances to filter when searching for
offerings.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return for the request in a single
page.
|
java.lang.Long |
getMinDuration()
The minimum duration (in seconds) to filter when searching for
offerings.
|
java.lang.String |
getNextToken()
The token to retrieve the next page of results.
|
java.lang.String |
getOfferingType()
The Reserved Instance offering type.
|
java.lang.String |
getProductDescription()
The Reserved Instance product platform description.
|
java.util.List<java.lang.String> |
getReservedInstancesOfferingIds()
One or more Reserved Instances offering IDs.
|
int |
hashCode() |
java.lang.Boolean |
isIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
|
void |
setInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the instances covered by the reservation.
|
void |
setInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation.
|
void |
setInstanceType(InstanceType instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
void |
setInstanceType(java.lang.String instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
void |
setMaxDuration(java.lang.Long maxDuration)
The maximum duration (in seconds) to filter when searching for
offerings.
|
void |
setMaxInstanceCount(java.lang.Integer maxInstanceCount)
The maximum number of instances to filter when searching for
offerings.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single
page.
|
void |
setMinDuration(java.lang.Long minDuration)
The minimum duration (in seconds) to filter when searching for
offerings.
|
void |
setNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
|
void |
setOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
void |
setOfferingType(java.lang.String offeringType)
The Reserved Instance offering type.
|
void |
setProductDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
|
void |
setProductDescription(java.lang.String productDescription)
The Reserved Instance product platform description.
|
void |
setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesOfferingsRequest |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
DescribeReservedInstancesOfferingsRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribeReservedInstancesOfferingsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeReservedInstancesOfferingsRequest |
withIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the instances covered by the reservation.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceType(InstanceType instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
DescribeReservedInstancesOfferingsRequest |
withInstanceType(java.lang.String instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
DescribeReservedInstancesOfferingsRequest |
withMaxDuration(java.lang.Long maxDuration)
The maximum duration (in seconds) to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxInstanceCount(java.lang.Integer maxInstanceCount)
The maximum number of instances to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single
page.
|
DescribeReservedInstancesOfferingsRequest |
withMinDuration(java.lang.Long minDuration)
The minimum duration (in seconds) to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingType(java.lang.String offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesOfferingsRequest |
withProductDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
|
DescribeReservedInstancesOfferingsRequest |
withProductDescription(java.lang.String productDescription)
The Reserved Instance product platform description.
|
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(java.lang.String... reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeReservedInstancesOfferingsRequest()
public java.util.List<java.lang.String> getReservedInstancesOfferingIds()
public void setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.lang.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(java.util.Collection<java.lang.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 java.lang.String getInstanceType()
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.
Constraints:
Allowed Values: t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, x1.4xlarge, x1.8xlarge, x1.16xlarge, x1.32xlarge, 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, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, cg1.4xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public void setInstanceType(java.lang.String instanceType)
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.
Constraints:
Allowed Values: t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, x1.4xlarge, x1.8xlarge, x1.16xlarge, x1.32xlarge, 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, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, cg1.4xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
instanceType
- The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(java.lang.String instanceType)
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, x1.4xlarge, x1.8xlarge, x1.16xlarge, x1.32xlarge, 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, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, cg1.4xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
instanceType
- The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public void setInstanceType(InstanceType instanceType)
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.
Constraints:
Allowed Values: t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, x1.4xlarge, x1.8xlarge, x1.16xlarge, x1.32xlarge, 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, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, cg1.4xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
instanceType
- The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType)
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, x1.4xlarge, x1.8xlarge, x1.16xlarge, x1.32xlarge, 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, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, cg1.4xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
instanceType
- The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(java.lang.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 java.lang.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(java.lang.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 product platform description. Instances that
include (Amazon VPC)
in the description are for use with
Amazon VPC.RIProductDescription
public DescribeReservedInstancesOfferingsRequest withProductDescription(java.lang.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 product platform 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 product platform 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 product platform description. Instances that
include (Amazon VPC)
in the description are for use with
Amazon VPC.RIProductDescription
public java.util.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 (31536000
|
94608000
).
fixed-price
- The
purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered
by the reservation.
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 both AWS and the Reserved Instance
Marketplace are listed.
product-description
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon
VPC)
| SUSE Linux
| SUSE Linux (Amazon
VPC)
| Red Hat Enterprise Linux
| Red Hat
Enterprise Linux (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
| Windows with SQL Server
Standard
| Windows with SQL Server Standard (Amazon
VPC)
| Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
| Windows with
SQL Server Enterprise
| Windows with SQL Server
Enterprise (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 (31536000
|
94608000
).
fixed-price
- The
purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered
by the reservation.
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 both AWS and the Reserved Instance
Marketplace are listed.
product-description
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon
VPC)
| SUSE Linux
| SUSE Linux (Amazon
VPC)
| Red Hat Enterprise Linux
| Red Hat
Enterprise Linux (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
| Windows with SQL Server
Standard
| Windows with SQL Server Standard (Amazon
VPC)
| Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
| Windows with
SQL Server Enterprise
| Windows with SQL Server
Enterprise (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(java.util.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 (31536000
|
94608000
).
fixed-price
- The
purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered
by the reservation.
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 both AWS and the Reserved Instance
Marketplace are listed.
product-description
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon
VPC)
| SUSE Linux
| SUSE Linux (Amazon
VPC)
| Red Hat Enterprise Linux
| Red Hat
Enterprise Linux (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
| Windows with SQL Server
Standard
| Windows with SQL Server Standard (Amazon
VPC)
| Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
| Windows with
SQL Server Enterprise
| Windows with SQL Server
Enterprise (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 (31536000
|
94608000
).
fixed-price
- The
purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered
by the reservation.
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 both AWS and the Reserved Instance
Marketplace are listed.
product-description
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon
VPC)
| SUSE Linux
| SUSE Linux (Amazon
VPC)
| Red Hat Enterprise Linux
| Red Hat
Enterprise Linux (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
| Windows with SQL Server
Standard
| Windows with SQL Server Standard (Amazon
VPC)
| Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
| Windows with
SQL Server Enterprise
| Windows with SQL Server
Enterprise (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 (31536000
|
94608000
).
fixed-price
- The
purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered
by the reservation.
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 both AWS and the Reserved Instance
Marketplace are listed.
product-description
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon
VPC)
| SUSE Linux
| SUSE Linux (Amazon
VPC)
| Red Hat Enterprise Linux
| Red Hat
Enterprise Linux (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
| Windows with SQL Server
Standard
| Windows with SQL Server Standard (Amazon
VPC)
| Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
| Windows with
SQL Server Enterprise
| Windows with SQL Server
Enterprise (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 (31536000
|
94608000
).
fixed-price
- The
purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered
by the reservation.
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 both AWS and the Reserved Instance
Marketplace are listed.
product-description
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon
VPC)
| SUSE Linux
| SUSE Linux (Amazon
VPC)
| Red Hat Enterprise Linux
| Red Hat
Enterprise Linux (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
| Windows with SQL Server
Standard
| Windows with SQL Server Standard (Amazon
VPC)
| Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
| Windows with
SQL Server Enterprise
| Windows with SQL Server
Enterprise (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(java.util.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 (31536000
|
94608000
).
fixed-price
- The
purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered
by the reservation.
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 both AWS and the Reserved Instance
Marketplace are listed.
product-description
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon
VPC)
| SUSE Linux
| SUSE Linux (Amazon
VPC)
| Red Hat Enterprise Linux
| Red Hat
Enterprise Linux (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
| Windows with SQL Server
Standard
| Windows with SQL Server Standard (Amazon
VPC)
| Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
| Windows with
SQL Server Enterprise
| Windows with SQL Server
Enterprise (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 (31536000
|
94608000
).
fixed-price
- The
purchase price of the Reserved Instance (for example, 9800.0).
instance-type
- The instance type that is covered
by the reservation.
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 both AWS and the Reserved Instance
Marketplace are listed.
product-description
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon
VPC)
| SUSE Linux
| SUSE Linux (Amazon
VPC)
| Red Hat Enterprise Linux
| Red Hat
Enterprise Linux (Amazon VPC)
| Windows
|
Windows (Amazon VPC)
| Windows with SQL Server
Standard
| Windows with SQL Server Standard (Amazon
VPC)
| Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
| Windows with
SQL Server Enterprise
| Windows with SQL Server
Enterprise (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 java.lang.String getInstanceTenancy()
dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Constraints:
Allowed Values: default, dedicated, host
dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Tenancy
public void setInstanceTenancy(java.lang.String instanceTenancy)
dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Constraints:
Allowed Values: default, dedicated, host
instanceTenancy
- The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(java.lang.String instanceTenancy)
dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated, host
instanceTenancy
- The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Tenancy
public void setInstanceTenancy(Tenancy instanceTenancy)
dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Constraints:
Allowed Values: default, dedicated, host
instanceTenancy
- The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(Tenancy instanceTenancy)
dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated, host
instanceTenancy
- The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to
instances that run in a VPC on single-tenant hardware (i.e., Dedicated
Instances). Default: default
Tenancy
public java.lang.String getOfferingType()
Medium Utilization
Reserved Instance offering type.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
Medium Utilization
Reserved Instance offering type.OfferingTypeValues
public void setOfferingType(java.lang.String offeringType)
Medium Utilization
Reserved Instance offering type.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
offeringType
- The Reserved Instance offering type. If you are using tools that
predate the 2011-11-01 API version, you only have access to the
Medium Utilization
Reserved Instance offering type.OfferingTypeValues
public DescribeReservedInstancesOfferingsRequest withOfferingType(java.lang.String offeringType)
Medium Utilization
Reserved Instance offering type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
offeringType
- The Reserved Instance offering type. If you are using tools that
predate the 2011-11-01 API version, you only have access to the
Medium Utilization
Reserved Instance offering type.OfferingTypeValues
public void setOfferingType(OfferingTypeValues offeringType)
Medium Utilization
Reserved Instance offering type.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
offeringType
- The Reserved Instance offering type. If you are using tools that
predate the 2011-11-01 API version, you only have access to the
Medium Utilization
Reserved Instance offering type.OfferingTypeValues
public DescribeReservedInstancesOfferingsRequest withOfferingType(OfferingTypeValues offeringType)
Medium Utilization
Reserved Instance offering type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
offeringType
- The Reserved Instance offering type. If you are using tools that
predate the 2011-11-01 API version, you only have access to the
Medium Utilization
Reserved Instance offering type.OfferingTypeValues
public java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- The token to retrieve the next page of results.public DescribeReservedInstancesOfferingsRequest withNextToken(java.lang.String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to retrieve the next page of results.public java.lang.Integer getMaxResults()
NextToken
value. The maximum is 100. Default: 100
NextToken
value. The maximum is 100. Default: 100
public void setMaxResults(java.lang.Integer maxResults)
NextToken
value. The maximum is 100. Default: 100
maxResults
- The maximum number of results to return for the request in a single
page. The remaining results of the initial request can be seen by
sending another request with the returned NextToken
value. The maximum is 100. Default: 100
public DescribeReservedInstancesOfferingsRequest withMaxResults(java.lang.Integer maxResults)
NextToken
value. The maximum is 100. Default: 100
Returns a reference to this object so that method calls can be chained together.
maxResults
- The maximum number of results to return for the request in a single
page. The remaining results of the initial request can be seen by
sending another request with the returned NextToken
value. The maximum is 100. Default: 100
public java.lang.Boolean isIncludeMarketplace()
public void setIncludeMarketplace(java.lang.Boolean includeMarketplace)
includeMarketplace
- Include Reserved Instance Marketplace offerings in the response.public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(java.lang.Boolean includeMarketplace)
Returns a reference to this object so that method calls can be chained together.
includeMarketplace
- Include Reserved Instance Marketplace offerings in the response.public java.lang.Boolean getIncludeMarketplace()
public java.lang.Long getMinDuration()
Default: 2592000 (1 month)
Default: 2592000 (1 month)
public void setMinDuration(java.lang.Long minDuration)
Default: 2592000 (1 month)
minDuration
- The minimum duration (in seconds) to filter when searching for
offerings. Default: 2592000 (1 month)
public DescribeReservedInstancesOfferingsRequest withMinDuration(java.lang.Long minDuration)
Default: 2592000 (1 month)
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. Default: 2592000 (1 month)
public java.lang.Long getMaxDuration()
Default: 94608000 (3 years)
Default: 94608000 (3 years)
public void setMaxDuration(java.lang.Long maxDuration)
Default: 94608000 (3 years)
maxDuration
- The maximum duration (in seconds) to filter when searching for
offerings. Default: 94608000 (3 years)
public DescribeReservedInstancesOfferingsRequest withMaxDuration(java.lang.Long maxDuration)
Default: 94608000 (3 years)
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. Default: 94608000 (3 years)
public java.lang.Integer getMaxInstanceCount()
Default: 20
Default: 20
public void setMaxInstanceCount(java.lang.Integer maxInstanceCount)
Default: 20
maxInstanceCount
- The maximum number of instances to filter when searching for
offerings. Default: 20
public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(java.lang.Integer maxInstanceCount)
Default: 20
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. Default: 20
public Request<DescribeReservedInstancesOfferingsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.