ARecord Class
- java.
lang. Object - com.
azure. resourcemanager. dns. models. ARecord
- com.
Implements
public final class ARecord
implements JsonSerializable<ARecord>
An A record.
Constructor Summary
Constructor | Description |
---|---|
ARecord() |
Creates an instance of ARecord class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static ARecord |
fromJson(JsonReader jsonReader)
Reads an instance of ARecord from the Json |
String |
ipv4Address()
Get the ipv4Address property: The IPv4 address of this A record. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
ARecord |
withIpv4Address(String ipv4Address)
Set the ipv4Address property: The IPv4 address of this A record. |
Methods inherited from java.lang.Object
Constructor Details
ARecord
public ARecord()
Creates an instance of ARecord class.
Method Details
fromJson
public static ARecord fromJson(JsonReader jsonReader)
Reads an instance of ARecord from the JsonReader.
Parameters:
Returns:
Throws:
ipv4Address
public String ipv4Address()
Get the ipv4Address property: The IPv4 address of this A record.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIpv4Address
public ARecord withIpv4Address(String ipv4Address)
Set the ipv4Address property: The IPv4 address of this A record.
Parameters:
Returns:
Applies to
Azure SDK for Java