DnsRecord Class
- java.
lang. Object - com.
azure. resourcemanager. communication. models. DnsRecord
- com.
Implements
public final class DnsRecord
implements JsonSerializable<DnsRecord>
A class that represents a VerificationStatus record.
Constructor Summary
| Constructor | Description |
|---|---|
| DnsRecord() |
Creates an instance of Dns |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dns |
fromJson(JsonReader jsonReader)
Reads an instance of Dns |
| String |
name()
Get the name property: Name of the DNS record. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
ttl()
Get the ttl property: Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec. |
| String |
type()
Get the type property: Type of the DNS record. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Value of the DNS record. |
Methods inherited from java.lang.Object
Constructor Details
DnsRecord
public DnsRecord()
Creates an instance of DnsRecord class.
Method Details
fromJson
public static DnsRecord fromJson(JsonReader jsonReader)
Reads an instance of DnsRecord from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the DNS record.
Returns:
toJson
ttl
public Integer ttl()
Get the ttl property: Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
Returns:
type
public String type()
Get the type property: Type of the DNS record. Example: TXT.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value of the DNS record.
Returns: