Class PublicIpAddressDnsSettings
- java.lang.Object
-
- com.azure.resourcemanager.network.models.PublicIpAddressDnsSettings
-
public final class PublicIpAddressDnsSettings extends Object
Contains FQDN of the DNS record associated with the public IP address.
-
-
Constructor Summary
Constructors Constructor Description PublicIpAddressDnsSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdomainNameLabel()Get the domainNameLabel property: The domain name label.Stringfqdn()Get the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP.StringreverseFqdn()Get the reverseFqdn property: The reverse FQDN.voidvalidate()Validates the instance.PublicIpAddressDnsSettingswithDomainNameLabel(String domainNameLabel)Set the domainNameLabel property: The domain name label.PublicIpAddressDnsSettingswithFqdn(String fqdn)Set the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP.PublicIpAddressDnsSettingswithReverseFqdn(String reverseFqdn)Set the reverseFqdn property: The reverse FQDN.
-
-
-
Method Detail
-
domainNameLabel
public String domainNameLabel()
Get the domainNameLabel property: The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.- Returns:
- the domainNameLabel value.
-
withDomainNameLabel
public PublicIpAddressDnsSettings withDomainNameLabel(String domainNameLabel)
Set the domainNameLabel property: The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.- Parameters:
domainNameLabel- the domainNameLabel value to set.- Returns:
- the PublicIpAddressDnsSettings object itself.
-
fqdn
public String fqdn()
Get the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.- Returns:
- the fqdn value.
-
withFqdn
public PublicIpAddressDnsSettings withFqdn(String fqdn)
Set the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.- Parameters:
fqdn- the fqdn value to set.- Returns:
- the PublicIpAddressDnsSettings object itself.
-
reverseFqdn
public String reverseFqdn()
Get the reverseFqdn property: The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.- Returns:
- the reverseFqdn value.
-
withReverseFqdn
public PublicIpAddressDnsSettings withReverseFqdn(String reverseFqdn)
Set the reverseFqdn property: The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.- Parameters:
reverseFqdn- the reverseFqdn value to set.- Returns:
- the PublicIpAddressDnsSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-