Class DnsResourceReferenceRequest
java.lang.Object
com.azure.resourcemanager.dns.models.DnsResourceReferenceRequest
Represents the properties of the Dns Resource Reference Request.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DnsResourceReferenceRequest class. -
Method Summary
Modifier and TypeMethodDescriptionList<com.azure.core.management.SubResource>Get the targetResources property: A list of references to azure resources for which referencing dns records need to be queried.voidvalidate()Validates the instance.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.
-
Constructor Details
-
DnsResourceReferenceRequest
public DnsResourceReferenceRequest()Creates an instance of DnsResourceReferenceRequest class.
-
-
Method Details
-
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.
-