public static interface DescribeReservedInstancesOfferingsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeReservedInstancesOfferingsRequest.Builder,DescribeReservedInstancesOfferingsRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeReservedInstancesOfferingsRequest.Builder availabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.DescribeReservedInstancesOfferingsRequest.Builder filters(Collection<Filter> 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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
DescribeReservedInstancesOfferingsRequest.Builder filters(Filter... 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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
DescribeReservedInstancesOfferingsRequest.Builder filters(Consumer<Filter.Builder>... 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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
DescribeReservedInstancesOfferingsRequest.Builder includeMarketplace(Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
includeMarketplace
- Include Reserved Instance Marketplace offerings in the response.DescribeReservedInstancesOfferingsRequest.Builder instanceType(String instanceType)
The instance type that the reservation will cover (for example, m1.small
). For more information,
see Instance types in
the Amazon EC2 User Guide.
instanceType
- The instance type that the reservation will cover (for example, m1.small
). For more
information, see Instance types in
the Amazon EC2 User Guide.InstanceType
,
InstanceType
DescribeReservedInstancesOfferingsRequest.Builder instanceType(InstanceType instanceType)
The instance type that the reservation will cover (for example, m1.small
). For more information,
see Instance types in
the Amazon EC2 User Guide.
instanceType
- The instance type that the reservation will cover (for example, m1.small
). For more
information, see Instance types in
the Amazon EC2 User Guide.InstanceType
,
InstanceType
DescribeReservedInstancesOfferingsRequest.Builder maxDuration(Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
maxDuration
- The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
DescribeReservedInstancesOfferingsRequest.Builder maxInstanceCount(Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.
Default: 20
maxInstanceCount
- The maximum number of instances to filter when searching for offerings.
Default: 20
DescribeReservedInstancesOfferingsRequest.Builder minDuration(Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
minDuration
- The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
DescribeReservedInstancesOfferingsRequest.Builder offeringClass(String offeringClass)
The offering class of the Reserved Instance. Can be standard
or convertible
.
offeringClass
- The offering class of the Reserved Instance. Can be standard
or convertible
.OfferingClassType
,
OfferingClassType
DescribeReservedInstancesOfferingsRequest.Builder offeringClass(OfferingClassType offeringClass)
The offering class of the Reserved Instance. Can be standard
or convertible
.
offeringClass
- The offering class of the Reserved Instance. Can be standard
or convertible
.OfferingClassType
,
OfferingClassType
DescribeReservedInstancesOfferingsRequest.Builder productDescription(String productDescription)
The Reserved Instance product platform description. Instances that include (Amazon VPC)
in the
description are for use with Amazon VPC.
productDescription
- The Reserved Instance product platform description. Instances that include (Amazon VPC)
in the description are for use with Amazon VPC.RIProductDescription
,
RIProductDescription
DescribeReservedInstancesOfferingsRequest.Builder productDescription(RIProductDescription productDescription)
The Reserved Instance product platform description. Instances that include (Amazon VPC)
in the
description are for use with Amazon VPC.
productDescription
- The Reserved Instance product platform description. Instances that include (Amazon VPC)
in the description are for use with Amazon VPC.RIProductDescription
,
RIProductDescription
DescribeReservedInstancesOfferingsRequest.Builder reservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.DescribeReservedInstancesOfferingsRequest.Builder reservedInstancesOfferingIds(String... reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.DescribeReservedInstancesOfferingsRequest.Builder instanceTenancy(String 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).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
Default: default
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).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
Default: default
Tenancy
,
Tenancy
DescribeReservedInstancesOfferingsRequest.Builder instanceTenancy(Tenancy 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).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
Default: default
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).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
Default: default
Tenancy
,
Tenancy
DescribeReservedInstancesOfferingsRequest.Builder maxResults(Integer 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
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
DescribeReservedInstancesOfferingsRequest.Builder nextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.DescribeReservedInstancesOfferingsRequest.Builder offeringType(String 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.
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
,
OfferingTypeValues
DescribeReservedInstancesOfferingsRequest.Builder offeringType(OfferingTypeValues 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.
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
,
OfferingTypeValues
DescribeReservedInstancesOfferingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DescribeReservedInstancesOfferingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.