@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationValue extends Object implements Serializable, Cloneable
The cost associated with the Reserved Instance.
Constructor and Description |
---|
ReservationValue() |
Modifier and Type | Method and Description |
---|---|
ReservationValue |
clone() |
boolean |
equals(Object obj) |
String |
getHourlyPrice()
The hourly rate of the reservation.
|
String |
getRemainingTotalValue()
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
|
String |
getRemainingUpfrontValue()
The remaining upfront cost of the reservation.
|
int |
hashCode() |
void |
setHourlyPrice(String hourlyPrice)
The hourly rate of the reservation.
|
void |
setRemainingTotalValue(String remainingTotalValue)
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
|
void |
setRemainingUpfrontValue(String remainingUpfrontValue)
The remaining upfront cost of the reservation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReservationValue |
withHourlyPrice(String hourlyPrice)
The hourly rate of the reservation.
|
ReservationValue |
withRemainingTotalValue(String remainingTotalValue)
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
|
ReservationValue |
withRemainingUpfrontValue(String remainingUpfrontValue)
The remaining upfront cost of the reservation.
|
public void setHourlyPrice(String hourlyPrice)
The hourly rate of the reservation.
hourlyPrice
- The hourly rate of the reservation.public String getHourlyPrice()
The hourly rate of the reservation.
public ReservationValue withHourlyPrice(String hourlyPrice)
The hourly rate of the reservation.
hourlyPrice
- The hourly rate of the reservation.public void setRemainingTotalValue(String remainingTotalValue)
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
remainingTotalValue
- The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours
remaining).public String getRemainingTotalValue()
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
public ReservationValue withRemainingTotalValue(String remainingTotalValue)
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
remainingTotalValue
- The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours
remaining).public void setRemainingUpfrontValue(String remainingUpfrontValue)
The remaining upfront cost of the reservation.
remainingUpfrontValue
- The remaining upfront cost of the reservation.public String getRemainingUpfrontValue()
The remaining upfront cost of the reservation.
public ReservationValue withRemainingUpfrontValue(String remainingUpfrontValue)
The remaining upfront cost of the reservation.
remainingUpfrontValue
- The remaining upfront cost of the reservation.public String toString()
toString
in class Object
Object.toString()
public ReservationValue clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.