Class ReservationCommittedUse

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.ReservationCommittedUse
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ReservationCommittedUse extends com.ibm.cloud.sdk.core.service.model.GenericModel
The committed use reservation configuration.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    The policy to apply when the committed use term expires: - `release`: Release any available capacity and let the reservation expire.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the expirationAt.
    Gets the expirationPolicy.
    Gets the term.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getExpirationAt

      public Date getExpirationAt()
      Gets the expirationAt. The expiration date and time for this committed use reservation. This property will be absent if the reservation has a `status` of `inactive`.
      Returns:
      the expirationAt
    • getExpirationPolicy

      public String getExpirationPolicy()
      Gets the expirationPolicy. The policy to apply when the committed use term expires: - `release`: Release any available capacity and let the reservation expire. - `renew`: Renew for another term, provided the term remains listed in the `reservation_terms` for the profile. Otherwise, let the reservation expire. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the expirationPolicy
    • getTerm

      public String getTerm()
      Gets the term. The term for this committed use reservation: - `one_year`: 1 year - `three_year`: 3 years The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the term