com.baidubce.services.eip.model
Class Billing.Reservation

java.lang.Object
  extended by com.baidubce.services.eip.model.Billing.Reservation
Enclosing class:
Billing

public static class Billing.Reservation
extends Object

The reservation model to specify the detail to buy.


Constructor Summary
Billing.Reservation()
           
 
Method Summary
 int getReservationLength()
           
 String getReservationTimeUnit()
           
 void setReservationLength(int reservationLength)
           
 void setReservationTimeUnit(String reservationTimeUnit)
           
 Billing.Reservation withReservationLength(int reservationLength)
           
 Billing.Reservation withReservationTimeUnit(String reservationTimeUnit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Billing.Reservation

public Billing.Reservation()
Method Detail

getReservationLength

public int getReservationLength()

setReservationLength

public void setReservationLength(int reservationLength)

getReservationTimeUnit

public String getReservationTimeUnit()

setReservationTimeUnit

public void setReservationTimeUnit(String reservationTimeUnit)

withReservationLength

public Billing.Reservation withReservationLength(int reservationLength)

withReservationTimeUnit

public Billing.Reservation withReservationTimeUnit(String reservationTimeUnit)


Copyright © 2018. All rights reserved.