Class VirtualNetworkConnectionGatewayReference
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VirtualNetworkConnectionGatewayReference
-
public final class VirtualNetworkConnectionGatewayReference extends Object
A reference to VirtualNetworkGateway or LocalNetworkGateway resource.
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkConnectionGatewayReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: The ID of VirtualNetworkGateway or LocalNetworkGateway resource.voidvalidate()Validates the instance.VirtualNetworkConnectionGatewayReferencewithId(String id)Set the id property: The ID of VirtualNetworkGateway or LocalNetworkGateway resource.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The ID of VirtualNetworkGateway or LocalNetworkGateway resource.- Returns:
- the id value.
-
withId
public VirtualNetworkConnectionGatewayReference withId(String id)
Set the id property: The ID of VirtualNetworkGateway or LocalNetworkGateway resource.- Parameters:
id- the id value to set.- Returns:
- the VirtualNetworkConnectionGatewayReference object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-