public static interface ReservedInstances.Builder extends SdkPojo, CopyableBuilder<ReservedInstances.Builder,ReservedInstances>
Modifier and Type | Method and Description |
---|---|
ReservedInstances.Builder |
availabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
ReservedInstances.Builder |
currencyCode(CurrencyCodeValues currencyCode)
The currency of the Reserved Instance.
|
ReservedInstances.Builder |
currencyCode(String currencyCode)
The currency of the Reserved Instance.
|
ReservedInstances.Builder |
duration(Long duration)
The duration of the Reserved Instance, in seconds.
|
ReservedInstances.Builder |
end(Instant end)
The time when the Reserved Instance expires.
|
ReservedInstances.Builder |
fixedPrice(Float fixedPrice)
The purchase price of the Reserved Instance.
|
ReservedInstances.Builder |
instanceCount(Integer instanceCount)
The number of reservations purchased.
|
ReservedInstances.Builder |
instanceTenancy(String instanceTenancy)
The tenancy of the instance.
|
ReservedInstances.Builder |
instanceTenancy(Tenancy instanceTenancy)
The tenancy of the instance.
|
ReservedInstances.Builder |
instanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used.
|
ReservedInstances.Builder |
instanceType(String instanceType)
The instance type on which the Reserved Instance can be used.
|
ReservedInstances.Builder |
offeringClass(OfferingClassType offeringClass)
The offering class of the Reserved Instance.
|
ReservedInstances.Builder |
offeringClass(String offeringClass)
The offering class of the Reserved Instance.
|
ReservedInstances.Builder |
offeringType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
ReservedInstances.Builder |
offeringType(String offeringType)
The Reserved Instance offering type.
|
ReservedInstances.Builder |
productDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
|
ReservedInstances.Builder |
productDescription(String productDescription)
The Reserved Instance product platform description.
|
ReservedInstances.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource.
|
ReservedInstances.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring charge tag assigned to the resource.
|
ReservedInstances.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The recurring charge tag assigned to the resource.
|
ReservedInstances.Builder |
reservedInstancesId(String reservedInstancesId)
The ID of the Reserved Instance.
|
ReservedInstances.Builder |
scope(Scope scope)
The scope of the Reserved Instance.
|
ReservedInstances.Builder |
scope(String scope)
The scope of the Reserved Instance.
|
ReservedInstances.Builder |
start(Instant start)
The date and time the Reserved Instance started.
|
ReservedInstances.Builder |
state(ReservedInstanceState state)
The state of the Reserved Instance purchase.
|
ReservedInstances.Builder |
state(String state)
The state of the Reserved Instance purchase.
|
ReservedInstances.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the resource.
|
ReservedInstances.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the resource.
|
ReservedInstances.Builder |
tags(Tag... tags)
Any tags assigned to the resource.
|
ReservedInstances.Builder |
usagePrice(Float usagePrice)
The usage price of the Reserved Instance, per hour.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReservedInstances.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.ReservedInstances.Builder duration(Long duration)
The duration of the Reserved Instance, in seconds.
duration
- The duration of the Reserved Instance, in seconds.ReservedInstances.Builder end(Instant end)
The time when the Reserved Instance expires.
end
- The time when the Reserved Instance expires.ReservedInstances.Builder fixedPrice(Float fixedPrice)
The purchase price of the Reserved Instance.
fixedPrice
- The purchase price of the Reserved Instance.ReservedInstances.Builder instanceCount(Integer instanceCount)
The number of reservations purchased.
instanceCount
- The number of reservations purchased.ReservedInstances.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
ReservedInstances.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
ReservedInstances.Builder productDescription(String productDescription)
The Reserved Instance product platform description.
productDescription
- The Reserved Instance product platform description.RIProductDescription
,
RIProductDescription
ReservedInstances.Builder productDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
productDescription
- The Reserved Instance product platform description.RIProductDescription
,
RIProductDescription
ReservedInstances.Builder reservedInstancesId(String reservedInstancesId)
The ID of the Reserved Instance.
reservedInstancesId
- The ID of the Reserved Instance.ReservedInstances.Builder start(Instant start)
The date and time the Reserved Instance started.
start
- The date and time the Reserved Instance started.ReservedInstances.Builder state(String state)
The state of the Reserved Instance purchase.
state
- The state of the Reserved Instance purchase.ReservedInstanceState
,
ReservedInstanceState
ReservedInstances.Builder state(ReservedInstanceState state)
The state of the Reserved Instance purchase.
state
- The state of the Reserved Instance purchase.ReservedInstanceState
,
ReservedInstanceState
ReservedInstances.Builder usagePrice(Float usagePrice)
The usage price of the Reserved Instance, per hour.
usagePrice
- The usage price of the Reserved Instance, per hour.ReservedInstances.Builder currencyCode(String currencyCode)
The currency of the Reserved Instance. 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. It's specified using ISO 4217 standard currency codes. At this
time, the only supported currency is USD
.CurrencyCodeValues
,
CurrencyCodeValues
ReservedInstances.Builder currencyCode(CurrencyCodeValues currencyCode)
The currency of the Reserved Instance. 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. It's specified using ISO 4217 standard currency codes. At this
time, the only supported currency is USD
.CurrencyCodeValues
,
CurrencyCodeValues
ReservedInstances.Builder instanceTenancy(String instanceTenancy)
The tenancy of the instance.
ReservedInstances.Builder instanceTenancy(Tenancy instanceTenancy)
The tenancy of the instance.
ReservedInstances.Builder offeringClass(String offeringClass)
The offering class of the Reserved Instance.
offeringClass
- The offering class of the Reserved Instance.OfferingClassType
,
OfferingClassType
ReservedInstances.Builder offeringClass(OfferingClassType offeringClass)
The offering class of the Reserved Instance.
offeringClass
- The offering class of the Reserved Instance.OfferingClassType
,
OfferingClassType
ReservedInstances.Builder offeringType(String offeringType)
The Reserved Instance offering type.
offeringType
- The Reserved Instance offering type.OfferingTypeValues
,
OfferingTypeValues
ReservedInstances.Builder offeringType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
offeringType
- The Reserved Instance offering type.OfferingTypeValues
,
OfferingTypeValues
ReservedInstances.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource.
recurringCharges
- The recurring charge tag assigned to the resource.ReservedInstances.Builder recurringCharges(RecurringCharge... recurringCharges)
The recurring charge tag assigned to the resource.
recurringCharges
- The recurring charge tag assigned to the resource.ReservedInstances.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)
ReservedInstances.Builder scope(String scope)
The scope of the Reserved Instance.
ReservedInstances.Builder scope(Scope scope)
The scope of the Reserved Instance.
ReservedInstances.Builder tags(Collection<Tag> tags)
Any tags assigned to the resource.
tags
- Any tags assigned to the resource.ReservedInstances.Builder tags(Tag... tags)
Any tags assigned to the resource.
tags
- Any tags assigned to the resource.ReservedInstances.Builder tags(Consumer<Tag.Builder>... tags)
Any tags 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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2019. All rights reserved.