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 VirtualHubId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed.voidvalidate()Validates the instance.VirtualHubIdwithId(String id)Set the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed.
-
-
-
Method Detail
-
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.
-
-