Class ReservationIdentity

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.ReservationIdentity
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
Direct Known Subclasses:
ReservationIdentityByCRN, ReservationIdentityByHref, ReservationIdentityById

public class ReservationIdentity extends com.ibm.cloud.sdk.core.service.model.GenericModel
Identifies a reservation by a unique property. Classes which extend this class: - ReservationIdentityById - ReservationIdentityByCRN - ReservationIdentityByHref
  • Method Summary

    Modifier and Type
    Method
    Description
    crn()
    Gets the crn.
    Gets the href.
    id()
    Gets the id.

    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

    • id

      public String id()
      Gets the id. The unique identifier for this reservation.
      Returns:
      the id
    • crn

      public String crn()
      Gets the crn. The CRN for this reservation.
      Returns:
      the crn
    • href

      public String href()
      Gets the href. The URL for this reservation.
      Returns:
      the href