Class DnsResourceReferenceRequestProperties


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

      • DnsResourceReferenceRequestProperties

        public DnsResourceReferenceRequestProperties()
    • Method Detail

      • 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.