DnsResourceReferenceResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.dns.fluent.models.DnsResourceReferenceResultInner

Implements

public final class DnsResourceReferenceResultInner
implements JsonSerializable<DnsResourceReferenceResultInner>

Represents the properties of the Dns Resource Reference Result.

Constructor Summary

Constructor Description
DnsResourceReferenceResultInner()

Creates an instance of DnsResourceReferenceResultInner class.

Method Summary

Modifier and Type Method and Description
List<DnsResourceReference> dnsResourceReferences()

Get the dnsResourceReferences property: The result of dns resource reference request.

static DnsResourceReferenceResultInner fromJson(JsonReader jsonReader)

Reads an instance of DnsResourceReferenceResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DnsResourceReferenceResultInner withDnsResourceReferences(List<DnsResourceReference> dnsResourceReferences)

Set the dnsResourceReferences property: The result of dns resource reference request.

Methods inherited from java.lang.Object

Constructor Details

DnsResourceReferenceResultInner

public DnsResourceReferenceResultInner()

Creates an instance of DnsResourceReferenceResultInner class.

Method Details

dnsResourceReferences

public List dnsResourceReferences()

Get the dnsResourceReferences property: The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request.

Returns:

the dnsResourceReferences value.

fromJson

public static DnsResourceReferenceResultInner fromJson(JsonReader jsonReader)

Reads an instance of DnsResourceReferenceResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DnsResourceReferenceResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DnsResourceReferenceResultInner.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDnsResourceReferences

public DnsResourceReferenceResultInner withDnsResourceReferences(List dnsResourceReferences)

Set the dnsResourceReferences property: The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request.

Parameters:

dnsResourceReferences - the dnsResourceReferences value to set.

Returns:

the DnsResourceReferenceResultInner object itself.

Applies to