Class AaaaRecord
java.lang.Object
com.azure.resourcemanager.privatedns.models.AaaaRecord
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AaaaRecord>
An AAAA record.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AaaaRecordfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AaaaRecord from the JsonReader.Get the ipv6Address property: The IPv6 address of this AAAA record.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withIpv6Address(String ipv6Address) Set the ipv6Address property: The IPv6 address of this AAAA record.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AaaaRecord
public AaaaRecord()Creates an instance of AaaaRecord class.
-
-
Method Details
-
ipv6Address
Get the ipv6Address property: The IPv6 address of this AAAA record.- Returns:
- the ipv6Address value.
-
withIpv6Address
Set the ipv6Address property: The IPv6 address of this AAAA record.- Parameters:
ipv6Address- the ipv6Address value to set.- Returns:
- the AaaaRecord object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AaaaRecord>- Throws:
IOException
-
fromJson
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.
-