Class DnsResourceReferenceRequest
- java.lang.Object
-
- com.azure.resourcemanager.dns.models.DnsResourceReferenceRequest
-
public final class DnsResourceReferenceRequest extends Object
Represents the properties of the Dns Resource Reference Request.
-
-
Constructor Summary
Constructors Constructor Description DnsResourceReferenceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.voidvalidate()Validates the instance.DnsResourceReferenceRequestwithTargetResources(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.
-
-
-
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 DnsResourceReferenceRequest 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 DnsResourceReferenceRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-