Class ARecord
- java.lang.Object
-
- com.azure.resourcemanager.privatedns.models.ARecord
-
public final class ARecord extends Object
An A record.
-
-
Constructor Summary
Constructors Constructor Description ARecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringipv4Address()Get the ipv4Address property: The IPv4 address of this A record.voidvalidate()Validates the instance.ARecordwithIpv4Address(String ipv4Address)Set the ipv4Address property: The IPv4 address of this A record.
-
-
-
Method Detail
-
ipv4Address
public String ipv4Address()
Get the ipv4Address property: The IPv4 address of this A record.- Returns:
- the ipv4Address value.
-
withIpv4Address
public ARecord withIpv4Address(String ipv4Address)
Set the ipv4Address property: The IPv4 address of this A record.- Parameters:
ipv4Address- the ipv4Address value to set.- Returns:
- the ARecord object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-