Class ApiEntityReference

java.lang.Object
com.azure.resourcemanager.compute.models.ApiEntityReference

public final class ApiEntityReference extends Object
The API entity reference.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of ApiEntityReference class.
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    void
    Validates the instance.
    Set the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ApiEntityReference

      public ApiEntityReference()
      Creates an instance of ApiEntityReference class.
  • Method Details

    • id

      public String id()
      Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
      Returns:
      the id value.
    • withId

      public ApiEntityReference withId(String id)
      Set the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
      Parameters:
      id - the id value to set.
      Returns:
      the ApiEntityReference object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.