Class VirtualNetworkDnsForwardingRulesetInner
- java.lang.Object
-
- com.azure.resourcemanager.dnsresolver.fluent.models.VirtualNetworkDnsForwardingRulesetInner
-
public final class VirtualNetworkDnsForwardingRulesetInner extends Object
Reference to DNS forwarding ruleset and associated virtual network link.
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkDnsForwardingRulesetInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: DNS Forwarding Ruleset Resource ID.void
validate()
Validates the instance.com.azure.core.management.SubResource
virtualNetworkLink()
Get the virtualNetworkLink property: The reference to the virtual network link.VirtualNetworkDnsForwardingRulesetInner
withId(String id)
Set the id property: DNS Forwarding Ruleset Resource ID.VirtualNetworkDnsForwardingRulesetInner
withVirtualNetworkLink(com.azure.core.management.SubResource virtualNetworkLink)
Set the virtualNetworkLink property: The reference to the virtual network link.
-
-
-
Method Detail
-
id
public String id()
Get the id property: DNS Forwarding Ruleset Resource ID.- Returns:
- the id value.
-
withId
public VirtualNetworkDnsForwardingRulesetInner withId(String id)
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.
-
-