public final class DnsConfig extends Object
| Constructor and Description |
|---|
DnsConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
fqdn()
Get the fqdn property: The fully-qualified domain name (FQDN) of the Traffic Manager profile.
|
String |
relativeName()
Get the relativeName property: The relative DNS name provided by this Traffic Manager profile.
|
Long |
ttl()
Get the ttl property: The DNS Time-To-Live (TTL), in seconds.
|
void |
validate()
Validates the instance.
|
DnsConfig |
withRelativeName(String relativeName)
Set the relativeName property: The relative DNS name provided by this Traffic Manager profile.
|
DnsConfig |
withTtl(Long ttl)
Set the ttl property: The DNS Time-To-Live (TTL), in seconds.
|
public String relativeName()
public DnsConfig withRelativeName(String relativeName)
relativeName - the relativeName value to set.public String fqdn()
public Long ttl()
public DnsConfig withTtl(Long ttl)
ttl - the ttl value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.