Class DnsRecord
java.lang.Object
com.azure.resourcemanager.communication.models.DnsRecord
A class that represents a VerificationStatus record.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: Name of the DNS record.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.type()
Get the type property: Type of the DNS record.void
validate()
Validates the instance.value()
Get the value property: Value of the DNS record.
-
Constructor Details
-
DnsRecord
public DnsRecord()
-
-
Method Details
-
type
Get the type property: Type of the DNS record. Example: TXT.- Returns:
- the type value.
-
name
Get the name property: Name of the DNS record.- Returns:
- the name value.
-
value
Get the value property: Value of the DNS record.- Returns:
- the value value.
-
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.
-