public static interface ReservedInstancesOffering.Builder extends SdkPojo, CopyableBuilder<ReservedInstancesOffering.Builder,ReservedInstancesOffering>
Modifier and Type | Method and Description |
---|---|
ReservedInstancesOffering.Builder |
availabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
ReservedInstancesOffering.Builder |
currencyCode(CurrencyCodeValues currencyCode)
The currency of the Reserved Instance offering you are purchasing.
|
ReservedInstancesOffering.Builder |
currencyCode(String currencyCode)
The currency of the Reserved Instance offering you are purchasing.
|
ReservedInstancesOffering.Builder |
duration(Long duration)
The duration of the Reserved Instance, in seconds.
|
ReservedInstancesOffering.Builder |
fixedPrice(Float fixedPrice)
The purchase price of the Reserved Instance.
|
ReservedInstancesOffering.Builder |
instanceTenancy(String instanceTenancy)
The tenancy of the instance.
|
ReservedInstancesOffering.Builder |
instanceTenancy(Tenancy instanceTenancy)
The tenancy of the instance.
|
ReservedInstancesOffering.Builder |
instanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used.
|
ReservedInstancesOffering.Builder |
instanceType(String instanceType)
The instance type on which the Reserved Instance can be used.
|
ReservedInstancesOffering.Builder |
marketplace(Boolean marketplace)
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS.
|
ReservedInstancesOffering.Builder |
offeringClass(OfferingClassType offeringClass)
If
convertible it can be exchanged for Reserved Instances of the same or higher monetary value,
with different configurations. |
ReservedInstancesOffering.Builder |
offeringClass(String offeringClass)
If
convertible it can be exchanged for Reserved Instances of the same or higher monetary value,
with different configurations. |
ReservedInstancesOffering.Builder |
offeringType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
ReservedInstancesOffering.Builder |
offeringType(String offeringType)
The Reserved Instance offering type.
|
ReservedInstancesOffering.Builder |
pricingDetails(Collection<PricingDetail> pricingDetails)
The pricing details of the Reserved Instance offering.
|
ReservedInstancesOffering.Builder |
pricingDetails(Consumer<PricingDetail.Builder>... pricingDetails)
The pricing details of the Reserved Instance offering.
|
ReservedInstancesOffering.Builder |
pricingDetails(PricingDetail... pricingDetails)
The pricing details of the Reserved Instance offering.
|
ReservedInstancesOffering.Builder |
productDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
|
ReservedInstancesOffering.Builder |
productDescription(String productDescription)
The Reserved Instance product platform description.
|
ReservedInstancesOffering.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource.
|
ReservedInstancesOffering.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring charge tag assigned to the resource.
|
ReservedInstancesOffering.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The recurring charge tag assigned to the resource.
|
ReservedInstancesOffering.Builder |
reservedInstancesOfferingId(String reservedInstancesOfferingId)
The ID of the Reserved Instance offering.
|
ReservedInstancesOffering.Builder |
scope(Scope scope)
Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.
|
ReservedInstancesOffering.Builder |
scope(String scope)
Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.
|
ReservedInstancesOffering.Builder |
usagePrice(Float usagePrice)
The usage price of the Reserved Instance, per hour.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReservedInstancesOffering.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.ReservedInstancesOffering.Builder duration(Long duration)
The duration of the Reserved Instance, in seconds.
duration
- The duration of the Reserved Instance, in seconds.ReservedInstancesOffering.Builder fixedPrice(Float fixedPrice)
The purchase price of the Reserved Instance.
fixedPrice
- The purchase price of the Reserved Instance.ReservedInstancesOffering.Builder instanceType(String instanceType)
The instance type on which the Reserved Instance can be used.
instanceType
- The instance type on which the Reserved Instance can be used.InstanceType
,
InstanceType
ReservedInstancesOffering.Builder instanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used.
instanceType
- The instance type on which the Reserved Instance can be used.InstanceType
,
InstanceType
ReservedInstancesOffering.Builder productDescription(String productDescription)
The Reserved Instance product platform description.
productDescription
- The Reserved Instance product platform description.RIProductDescription
,
RIProductDescription
ReservedInstancesOffering.Builder productDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
productDescription
- The Reserved Instance product platform description.RIProductDescription
,
RIProductDescription
ReservedInstancesOffering.Builder reservedInstancesOfferingId(String reservedInstancesOfferingId)
The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.
reservedInstancesOfferingId
- The ID of the Reserved Instance offering. This is the offering ID used in
GetReservedInstancesExchangeQuote to confirm that an exchange can be made.ReservedInstancesOffering.Builder usagePrice(Float usagePrice)
The usage price of the Reserved Instance, per hour.
usagePrice
- The usage price of the Reserved Instance, per hour.ReservedInstancesOffering.Builder currencyCode(String currencyCode)
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard
currency codes. At this time, the only supported currency is USD
.
currencyCode
- The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217
standard currency codes. At this time, the only supported currency is USD
.CurrencyCodeValues
,
CurrencyCodeValues
ReservedInstancesOffering.Builder currencyCode(CurrencyCodeValues currencyCode)
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard
currency codes. At this time, the only supported currency is USD
.
currencyCode
- The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217
standard currency codes. At this time, the only supported currency is USD
.CurrencyCodeValues
,
CurrencyCodeValues
ReservedInstancesOffering.Builder instanceTenancy(String instanceTenancy)
The tenancy of the instance.
ReservedInstancesOffering.Builder instanceTenancy(Tenancy instanceTenancy)
The tenancy of the instance.
ReservedInstancesOffering.Builder marketplace(Boolean marketplace)
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If
it's a Reserved Instance Marketplace offering, this is true
.
marketplace
- Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS.
If it's a Reserved Instance Marketplace offering, this is true
.ReservedInstancesOffering.Builder offeringClass(String offeringClass)
If convertible
it can be exchanged for Reserved Instances of the same or higher monetary value,
with different configurations. If standard
, it is not possible to perform an exchange.
offeringClass
- If convertible
it can be exchanged for Reserved Instances of the same or higher monetary
value, with different configurations. If standard
, it is not possible to perform an
exchange.OfferingClassType
,
OfferingClassType
ReservedInstancesOffering.Builder offeringClass(OfferingClassType offeringClass)
If convertible
it can be exchanged for Reserved Instances of the same or higher monetary value,
with different configurations. If standard
, it is not possible to perform an exchange.
offeringClass
- If convertible
it can be exchanged for Reserved Instances of the same or higher monetary
value, with different configurations. If standard
, it is not possible to perform an
exchange.OfferingClassType
,
OfferingClassType
ReservedInstancesOffering.Builder offeringType(String offeringType)
The Reserved Instance offering type.
offeringType
- The Reserved Instance offering type.OfferingTypeValues
,
OfferingTypeValues
ReservedInstancesOffering.Builder offeringType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
offeringType
- The Reserved Instance offering type.OfferingTypeValues
,
OfferingTypeValues
ReservedInstancesOffering.Builder pricingDetails(Collection<PricingDetail> pricingDetails)
The pricing details of the Reserved Instance offering.
pricingDetails
- The pricing details of the Reserved Instance offering.ReservedInstancesOffering.Builder pricingDetails(PricingDetail... pricingDetails)
The pricing details of the Reserved Instance offering.
pricingDetails
- The pricing details of the Reserved Instance offering.ReservedInstancesOffering.Builder pricingDetails(Consumer<PricingDetail.Builder>... pricingDetails)
The pricing details of the Reserved Instance offering.
This is a convenience that creates an instance of theList.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 #pricingDetails(List)
.pricingDetails
- a consumer that will call methods on List.Builder
#pricingDetails(List)
ReservedInstancesOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource.
recurringCharges
- The recurring charge tag assigned to the resource.ReservedInstancesOffering.Builder recurringCharges(RecurringCharge... recurringCharges)
The recurring charge tag assigned to the resource.
recurringCharges
- The recurring charge tag assigned to the resource.ReservedInstancesOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring charge tag assigned to the resource.
This is a convenience that creates an instance of theList.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 #recurringCharges(List)
.recurringCharges
- a consumer that will call methods on List.Builder
#recurringCharges(List)
ReservedInstancesOffering.Builder scope(String scope)
Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.
ReservedInstancesOffering.Builder scope(Scope scope)
Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.
Copyright © 2020. All rights reserved.