@Generated(value="software.amazon.awssdk:codegen") public class ReservedInstances extends Object implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<ReservedInstances.Builder,ReservedInstances>
Describes a Reserved Instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReservedInstances.Builder |
| Modifier and Type | Method and 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.
|
Instant |
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() |
Instant |
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() |
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 Instant 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.
InstanceTypepublic String productDescription()
The Reserved Instance product platform description.
RIProductDescriptionpublic String reservedInstancesId()
The ID of the Reserved Instance.
public Instant start()
The date and time the Reserved Instance started.
public String state()
The state of the Reserved Instance purchase.
ReservedInstanceStatepublic 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.CurrencyCodeValuespublic String instanceTenancy()
The tenancy of the instance.
Tenancypublic String offeringClass()
The offering class of the Reserved Instance.
OfferingClassTypepublic String offeringType()
The Reserved Instance offering type.
OfferingTypeValuespublic List<RecurringCharge> recurringCharges()
The recurring charge tag assigned to the resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String scope()
The scope of the Reserved Instance.
Scopepublic List<Tag> tags()
Any tags assigned to the resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ReservedInstances.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<ReservedInstances.Builder,ReservedInstances>public static ReservedInstances.Builder builder()
public static Class<? extends ReservedInstances.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.