CopyableBuilder<ReservedInstancesOffering.Builder,ReservedInstancesOffering>
, SdkBuilder<ReservedInstancesOffering.Builder,ReservedInstancesOffering>
public static interface ReservedInstancesOffering.Builder extends CopyableBuilder<ReservedInstancesOffering.Builder,ReservedInstancesOffering>
Modifier and Type | Method | Description |
---|---|---|
ReservedInstancesOffering.Builder |
availabilityZone(String availabilityZone) |
The Availability Zone in which the Reserved Instance can be used.
|
ReservedInstancesOffering.Builder |
currencyCode(String currencyCode) |
The currency of the Reserved Instance offering you are purchasing.
|
ReservedInstancesOffering.Builder |
currencyCode(CurrencyCodeValues 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(String instanceType) |
The instance type on which the Reserved Instance can be used.
|
ReservedInstancesOffering.Builder |
instanceType(InstanceType 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(String offeringClass) |
If
convertible it can be exchanged for Reserved Instances of the same or higher monetary value,
with different configurations. |
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 |
offeringType(String offeringType) |
The Reserved Instance offering type.
|
ReservedInstancesOffering.Builder |
offeringType(OfferingTypeValues offeringType) |
The Reserved Instance offering type.
|
ReservedInstancesOffering.Builder |
pricingDetails(Collection<PricingDetail> 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(String productDescription) |
The Reserved Instance product platform description.
|
ReservedInstancesOffering.Builder |
productDescription(RIProductDescription productDescription) |
The Reserved Instance product platform description.
|
ReservedInstancesOffering.Builder |
recurringCharges(Collection<RecurringCharge> 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(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.
|
ReservedInstancesOffering.Builder |
usagePrice(Float usagePrice) |
The usage price of the Reserved Instance, per hour.
|
copy
apply, 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
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
ReservedInstancesOffering.Builder productDescription(String productDescription)
The Reserved Instance product platform description.
productDescription
- The Reserved Instance product platform description.RIProductDescription
ReservedInstancesOffering.Builder productDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
productDescription
- The Reserved Instance product platform description.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
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
ReservedInstancesOffering.Builder instanceTenancy(String instanceTenancy)
The tenancy of the instance.
instanceTenancy
- The tenancy of the instance.Tenancy
ReservedInstancesOffering.Builder instanceTenancy(Tenancy instanceTenancy)
The tenancy of the instance.
instanceTenancy
- The tenancy of the instance.Tenancy
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
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
ReservedInstancesOffering.Builder offeringType(String offeringType)
The Reserved Instance offering type.
offeringType
- The Reserved Instance offering type.OfferingTypeValues
ReservedInstancesOffering.Builder offeringType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
offeringType
- The Reserved Instance offering type.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.
NOTE: This method appends the values to the existing list (if any). Use
#setPricingDetails(java.util.Collection)
or #withPricingDetails(java.util.Collection)
if you
want to override the existing values.
pricingDetails
- The pricing details of the Reserved Instance offering.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.
NOTE: This method appends the values to the existing list (if any). Use
#setRecurringCharges(java.util.Collection)
or #withRecurringCharges(java.util.Collection)
if
you want to override the existing values.
recurringCharges
- The recurring charge tag assigned to the resource.ReservedInstancesOffering.Builder scope(String scope)
Whether the Reserved Instance is applied to instances in a region or an Availability Zone.
scope
- Whether the Reserved Instance is applied to instances in a region or an Availability Zone.Scope
ReservedInstancesOffering.Builder scope(Scope scope)
Whether the Reserved Instance is applied to instances in a region or an Availability Zone.
scope
- Whether the Reserved Instance is applied to instances in a region or an Availability Zone.Scope
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.