Class VirtualNetworkLinkSubResourceProperties
java.lang.Object
com.azure.resourcemanager.dnsresolver.fluent.models.VirtualNetworkLinkSubResourceProperties
The reference to the virtual network link that associates between the DNS forwarding ruleset and virtual network.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.com.azure.core.management.SubResource
Get the virtualNetworkLink property: The reference to the virtual network link.withVirtualNetworkLink
(com.azure.core.management.SubResource virtualNetworkLink) Set the virtualNetworkLink property: The reference to the virtual network link.
-
Constructor Details
-
VirtualNetworkLinkSubResourceProperties
public VirtualNetworkLinkSubResourceProperties()
-
-
Method Details
-
virtualNetworkLink
public com.azure.core.management.SubResource virtualNetworkLink()Get the virtualNetworkLink property: The reference to the virtual network link.- Returns:
- the virtualNetworkLink value.
-
withVirtualNetworkLink
public VirtualNetworkLinkSubResourceProperties withVirtualNetworkLink(com.azure.core.management.SubResource virtualNetworkLink) Set the virtualNetworkLink property: The reference to the virtual network link.- Parameters:
virtualNetworkLink
- the virtualNetworkLink value to set.- Returns:
- the VirtualNetworkLinkSubResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-