ToCopyableBuilder<PriceScheduleSpecification.Builder,PriceScheduleSpecification>
@Generated("software.amazon.awssdk:codegen") public class PriceScheduleSpecification extends Object implements ToCopyableBuilder<PriceScheduleSpecification.Builder,PriceScheduleSpecification>
Describes the price for a Reserved Instance.
Modifier and Type | Class | Description |
---|---|---|
static interface |
PriceScheduleSpecification.Builder |
Modifier and Type | Method | Description |
---|---|---|
static PriceScheduleSpecification.Builder |
builder() |
|
String |
currencyCode() |
The currency for transacting the Reserved Instance resale.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Double |
price() |
The fixed price for the term.
|
static Class<? extends PriceScheduleSpecification.Builder> |
serializableBuilderClass() |
|
Long |
term() |
The number of months remaining in the reservation.
|
PriceScheduleSpecification.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String currencyCode()
The currency for transacting the Reserved Instance resale. At this time, the only supported currency is
USD
.
USD
.CurrencyCodeValues
public Double price()
The fixed price for the term.
public Long term()
The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.
public PriceScheduleSpecification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PriceScheduleSpecification.Builder,PriceScheduleSpecification>
public static PriceScheduleSpecification.Builder builder()
public static Class<? extends PriceScheduleSpecification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.