Class DnsRecord
- java.lang.Object
-
- com.azure.resourcemanager.communication.models.DnsRecord
-
public final class DnsRecord extends Object
A class that represents a VerificationStatus record.
-
-
Constructor Summary
Constructors Constructor Description DnsRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Name of the DNS record.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.
-
-
-
Method Detail
-
type
public String type()
Get the type property: Type of the DNS record. Example: TXT.- Returns:
- the type value.
-
name
public String name()
Get the name property: Name of the DNS record.- Returns:
- the name value.
-
value
public String value()
Get the value property: Value of the DNS record.- Returns:
- the value value.
-
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:
- the ttl value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-