Class DnsForwardingRulesetInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.dnsresolver.fluent.models.DnsForwardingRulesetInner

public final class DnsForwardingRulesetInner extends com.azure.core.management.Resource
Describes a DNS forwarding ruleset.
  • Constructor Details

    • DnsForwardingRulesetInner

      public DnsForwardingRulesetInner()
  • Method Details

    • etag

      public String etag()
      Get the etag property: ETag of the DNS forwarding ruleset.
      Returns:
      the etag value.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • withLocation

      public DnsForwardingRulesetInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public DnsForwardingRulesetInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • dnsResolverOutboundEndpoints

      public List<com.azure.core.management.SubResource> dnsResolverOutboundEndpoints()
      Get the dnsResolverOutboundEndpoints property: The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.
      Returns:
      the dnsResolverOutboundEndpoints value.
    • withDnsResolverOutboundEndpoints

      public DnsForwardingRulesetInner withDnsResolverOutboundEndpoints(List<com.azure.core.management.SubResource> dnsResolverOutboundEndpoints)
      Set the dnsResolverOutboundEndpoints property: The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.
      Parameters:
      dnsResolverOutboundEndpoints - the dnsResolverOutboundEndpoints value to set.
      Returns:
      the DnsForwardingRulesetInner object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The current provisioning state of the DNS forwarding ruleset. This is a read-only property and any attempt to set this value will be ignored.
      Returns:
      the provisioningState value.
    • resourceGuid

      public String resourceGuid()
      Get the resourceGuid property: The resourceGuid for the DNS forwarding ruleset.
      Returns:
      the resourceGuid value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.