@Generated(value="software.amazon.awssdk:codegen") public final class ReservationValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservationValue.Builder,ReservationValue>
The cost associated with the Reserved Instance.
Modifier and Type | Class and Description |
---|---|
static interface |
ReservationValue.Builder |
Modifier and Type | Method and Description |
---|---|
static ReservationValue.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hourlyPrice()
The hourly rate of the reservation.
|
String |
remainingTotalValue()
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
|
String |
remainingUpfrontValue()
The remaining upfront cost of the reservation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReservationValue.Builder> |
serializableBuilderClass() |
ReservationValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String hourlyPrice()
The hourly rate of the reservation.
public String remainingTotalValue()
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
public String remainingUpfrontValue()
The remaining upfront cost of the reservation.
public ReservationValue.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ReservationValue.Builder,ReservationValue>
public static ReservationValue.Builder builder()
public static Class<? extends ReservationValue.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.