Class VirtualHubId

java.lang.Object
com.azure.resourcemanager.network.models.VirtualHubId

public final class VirtualHubId extends Object
Virtual Hub identifier.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    id()
    Get the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed.
    void
    Validates the instance.
    Set the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed.

    Methods inherited from class java.lang.Object

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

    • VirtualHubId

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

    • id

      public String id()
      Get the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
      Returns:
      the id value.
    • withId

      public VirtualHubId withId(String id)
      Set the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
      Parameters:
      id - the id value to set.
      Returns:
      the VirtualHubId object itself.
    • validate

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