ToCopyableBuilder<ReservedInstances.Builder,ReservedInstances>
@Generated("software.amazon.awssdk:codegen") public class ReservedInstances extends Object implements ToCopyableBuilder<ReservedInstances.Builder,ReservedInstances>
Describes a Reserved Instance.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ReservedInstances.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
availabilityZone() |
The Availability Zone in which the Reserved Instance can be used.
|
static ReservedInstances.Builder |
builder() |
|
String |
currencyCode() |
The currency of the Reserved Instance.
|
Long |
duration() |
The duration of the Reserved Instance, in seconds.
|
Date |
end() |
The time when the Reserved Instance expires.
|
boolean |
equals(Object obj) |
|
Float |
fixedPrice() |
The purchase price of the Reserved Instance.
|
int |
hashCode() |
|
Integer |
instanceCount() |
The number of reservations purchased.
|
String |
instanceTenancy() |
The tenancy of the instance.
|
String |
instanceType() |
The instance type on which the Reserved Instance can be used.
|
String |
offeringClass() |
The offering class of the Reserved Instance.
|
String |
offeringType() |
The Reserved Instance offering type.
|
String |
productDescription() |
The Reserved Instance product platform description.
|
List<RecurringCharge> |
recurringCharges() |
The recurring charge tag assigned to the resource.
|
String |
reservedInstancesId() |
The ID of the Reserved Instance.
|
String |
scope() |
The scope of the Reserved Instance.
|
static Class<? extends ReservedInstances.Builder> |
serializableBuilderClass() |
|
Date |
start() |
The date and time the Reserved Instance started.
|
String |
state() |
The state of the Reserved Instance purchase.
|
List<Tag> |
tags() |
Any tags assigned to the resource.
|
ReservedInstances.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Float |
usagePrice() |
The usage price of the Reserved Instance, per hour.
|
public String availabilityZone()
The Availability Zone in which the Reserved Instance can be used.
public Long duration()
The duration of the Reserved Instance, in seconds.
public Date end()
The time when the Reserved Instance expires.
public Float fixedPrice()
The purchase price of the Reserved Instance.
public Integer instanceCount()
The number of reservations purchased.
public String instanceType()
The instance type on which the Reserved Instance can be used.
InstanceType
public String productDescription()
The Reserved Instance product platform description.
RIProductDescription
public String reservedInstancesId()
The ID of the Reserved Instance.
public Date start()
The date and time the Reserved Instance started.
public String state()
The state of the Reserved Instance purchase.
ReservedInstanceState
public Float usagePrice()
The usage price of the Reserved Instance, per hour.
public 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
.
USD
.CurrencyCodeValues
public String instanceTenancy()
The tenancy of the instance.
Tenancy
public String offeringClass()
The offering class of the Reserved Instance.
OfferingClassType
public String offeringType()
The Reserved Instance offering type.
OfferingTypeValues
public List<RecurringCharge> recurringCharges()
The recurring charge tag assigned to the resource.
public String scope()
The scope of the Reserved Instance.
Scope
public List<Tag> tags()
Any tags assigned to the resource.
public ReservedInstances.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReservedInstances.Builder,ReservedInstances>
public static ReservedInstances.Builder builder()
public static Class<? extends ReservedInstances.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.