DnsConfig Class
- java.
lang. Object - com.
microsoft. azure. management. trafficmanager. DnsConfig
- com.
public class DnsConfig
Class containing DNS settings in a Traffic Manager profile.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
fqdn()
Get the fqdn value. |
String |
relativeName()
Get the relativeName value. |
Long |
ttl()
Get the ttl value. |
Dns |
withRelativeName(String relativeName)
Set the relativeName value. |
Dns |
withTtl(Long ttl)
Set the ttl value. |
Method Details
fqdn
public String fqdn()
Get the fqdn value.
Returns:
the fqdn value
relativeName
public String relativeName()
Get the relativeName value.
Returns:
the relativeName value
ttl
public Long ttl()
Get the ttl value.
Returns:
the ttl value
withRelativeName
public DnsConfig withRelativeName(String relativeName)
Set the relativeName value.
Parameters:
relativeName
- the relativeName value to set
Returns:
the DnsConfig object itself.
withTtl
public DnsConfig withTtl(Long ttl)
Set the ttl value.
Parameters:
ttl
- the ttl value to set
Returns:
the DnsConfig object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java