CopyableBuilder<ReservedInstances.Builder,ReservedInstances>
, SdkBuilder<ReservedInstances.Builder,ReservedInstances>
public static interface ReservedInstances.Builder extends CopyableBuilder<ReservedInstances.Builder,ReservedInstances>
Modifier and Type | Method | Description |
---|---|---|
ReservedInstances.Builder |
availabilityZone(String availabilityZone) |
The Availability Zone in which the Reserved Instance can be used.
|
ReservedInstances.Builder |
currencyCode(String currencyCode) |
The currency of the Reserved Instance.
|
ReservedInstances.Builder |
currencyCode(CurrencyCodeValues currencyCode) |
The currency of the Reserved Instance.
|
ReservedInstances.Builder |
duration(Long duration) |
The duration of the Reserved Instance, in seconds.
|
ReservedInstances.Builder |
end(Date 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(String instanceType) |
The instance type on which the Reserved Instance can be used.
|
ReservedInstances.Builder |
instanceType(InstanceType instanceType) |
The instance type on which the Reserved Instance can be used.
|
ReservedInstances.Builder |
offeringClass(String offeringClass) |
The offering class of the Reserved Instance.
|
ReservedInstances.Builder |
offeringClass(OfferingClassType offeringClass) |
The offering class of the Reserved Instance.
|
ReservedInstances.Builder |
offeringType(String offeringType) |
The Reserved Instance offering type.
|
ReservedInstances.Builder |
offeringType(OfferingTypeValues offeringType) |
The Reserved Instance offering type.
|
ReservedInstances.Builder |
productDescription(String productDescription) |
The Reserved Instance product platform description.
|
ReservedInstances.Builder |
productDescription(RIProductDescription productDescription) |
The Reserved Instance product platform description.
|
ReservedInstances.Builder |
recurringCharges(Collection<RecurringCharge> 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(String scope) |
The scope of the Reserved Instance.
|
ReservedInstances.Builder |
scope(Scope scope) |
The scope of the Reserved Instance.
|
ReservedInstances.Builder |
start(Date start) |
The date and time the Reserved Instance started.
|
ReservedInstances.Builder |
state(String state) |
The state of the Reserved Instance purchase.
|
ReservedInstances.Builder |
state(ReservedInstanceState state) |
The state of the Reserved Instance purchase.
|
ReservedInstances.Builder |
tags(Collection<Tag> 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.
|
copy
apply, 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(Date 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
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
ReservedInstances.Builder productDescription(String productDescription)
The Reserved Instance product platform description.
productDescription
- The Reserved Instance product platform description.RIProductDescription
ReservedInstances.Builder productDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
productDescription
- The Reserved Instance product platform description.RIProductDescription
ReservedInstances.Builder reservedInstancesId(String reservedInstancesId)
The ID of the Reserved Instance.
reservedInstancesId
- The ID of the Reserved Instance.ReservedInstances.Builder start(Date 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
ReservedInstances.Builder state(ReservedInstanceState state)
The state of the Reserved Instance purchase.
state
- The state of the Reserved Instance purchase.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
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
ReservedInstances.Builder instanceTenancy(String instanceTenancy)
The tenancy of the instance.
instanceTenancy
- The tenancy of the instance.Tenancy
ReservedInstances.Builder instanceTenancy(Tenancy instanceTenancy)
The tenancy of the instance.
instanceTenancy
- The tenancy of the instance.Tenancy
ReservedInstances.Builder offeringClass(String offeringClass)
The offering class of the Reserved Instance.
offeringClass
- The offering class of the Reserved Instance.OfferingClassType
ReservedInstances.Builder offeringClass(OfferingClassType offeringClass)
The offering class of the Reserved Instance.
offeringClass
- The offering class of the Reserved Instance.OfferingClassType
ReservedInstances.Builder offeringType(String offeringType)
The Reserved Instance offering type.
offeringType
- The Reserved Instance offering type.OfferingTypeValues
ReservedInstances.Builder offeringType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
offeringType
- The Reserved Instance offering type.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.
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.ReservedInstances.Builder scope(String scope)
The scope of the Reserved Instance.
scope
- The scope of the Reserved Instance.Scope
ReservedInstances.Builder scope(Scope scope)
The scope of the Reserved Instance.
scope
- The scope of the Reserved Instance.Scope
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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the resource.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.