Class SubnetIdentity

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.SubnetIdentity
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
Direct Known Subclasses:
SubnetIdentityByCRN, SubnetIdentityByHref, SubnetIdentityById

public class SubnetIdentity extends com.ibm.cloud.sdk.core.service.model.GenericModel
Identifies a subnet by a unique property. Classes which extend this class: - SubnetIdentityById - SubnetIdentityByCRN - SubnetIdentityByHref
  • 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 subnet.
      Returns:
      the id
    • crn

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

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