AaaaRecord Class

  • java.lang.Object
    • com.azure.resourcemanager.dns.models.AaaaRecord

Implements

public final class AaaaRecord
implements JsonSerializable<AaaaRecord>

An AAAA record.

Constructor Summary

Constructor Description
AaaaRecord()

Creates an instance of AaaaRecord class.

Method Summary

Modifier and Type Method and Description
static AaaaRecord fromJson(JsonReader jsonReader)

Reads an instance of AaaaRecord from the JsonReader.

String ipv6Address()

Get the ipv6Address property: The IPv6 address of this AAAA record.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AaaaRecord withIpv6Address(String ipv6Address)

Set the ipv6Address property: The IPv6 address of this AAAA record.

Methods inherited from java.lang.Object

Constructor Details

AaaaRecord

public AaaaRecord()

Creates an instance of AaaaRecord class.

Method Details

fromJson

public static AaaaRecord fromJson(JsonReader jsonReader)

Reads an instance of AaaaRecord from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AaaaRecord 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 AaaaRecord.

ipv6Address

public String ipv6Address()

Get the ipv6Address property: The IPv6 address of this AAAA record.

Returns:

the ipv6Address value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIpv6Address

public AaaaRecord withIpv6Address(String ipv6Address)

Set the ipv6Address property: The IPv6 address of this AAAA record.

Parameters:

ipv6Address - the ipv6Address value to set.

Returns:

the AaaaRecord object itself.

Applies to