Class VirtualNetworkDnsForwardingRulesetInner
java.lang.Object
com.azure.resourcemanager.dnsresolver.fluent.models.VirtualNetworkDnsForwardingRulesetInner
Reference to DNS forwarding ruleset and associated virtual network link.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: DNS Forwarding Ruleset Resource ID.void
validate()
Validates the instance.com.azure.core.management.SubResource
Get the virtualNetworkLink property: The reference to the virtual network link.Set the id property: DNS Forwarding Ruleset Resource ID.withVirtualNetworkLink
(com.azure.core.management.SubResource virtualNetworkLink) Set the virtualNetworkLink property: The reference to the virtual network link.
-
Constructor Details
-
VirtualNetworkDnsForwardingRulesetInner
public VirtualNetworkDnsForwardingRulesetInner()
-
-
Method Details
-
id
Get the id property: DNS Forwarding Ruleset Resource ID.- Returns:
- the id value.
-
withId
Set the id property: DNS Forwarding Ruleset Resource ID.- Parameters:
id
- the id value to set.- Returns:
- the VirtualNetworkDnsForwardingRulesetInner object itself.
-
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 VirtualNetworkDnsForwardingRulesetInner 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 VirtualNetworkDnsForwardingRulesetInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-