Class DnsResourceReferenceRequestProperties

java.lang.Object
com.azure.resourcemanager.dns.fluent.models.DnsResourceReferenceRequestProperties

public final class DnsResourceReferenceRequestProperties extends Object
Represents the properties of the Dns Resource Reference Request.
  • Constructor Details

    • DnsResourceReferenceRequestProperties

      public DnsResourceReferenceRequestProperties()
      Creates an instance of DnsResourceReferenceRequestProperties class.
  • Method Details

    • targetResources

      public List<com.azure.core.management.SubResource> targetResources()
      Get the targetResources property: A list of references to azure resources for which referencing dns records need to be queried.
      Returns:
      the targetResources value.
    • withTargetResources

      public DnsResourceReferenceRequestProperties withTargetResources(List<com.azure.core.management.SubResource> targetResources)
      Set the targetResources property: A list of references to azure resources for which referencing dns records need to be queried.
      Parameters:
      targetResources - the targetResources value to set.
      Returns:
      the DnsResourceReferenceRequestProperties object itself.
    • validate

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