Class PublicIpAddressDnsSettings
java.lang.Object
com.azure.resourcemanager.network.models.PublicIpAddressDnsSettings
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PublicIpAddressDnsSettings>
public final class PublicIpAddressDnsSettings
extends Object
implements com.azure.json.JsonSerializable<PublicIpAddressDnsSettings>
Contains FQDN of the DNS record associated with the public IP address.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PublicIpAddressDnsSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the domainNameLabel property: The domain name label.Get the domainNameLabelScope property: The domain name label scope.fqdn()Get the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP.static PublicIpAddressDnsSettingsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PublicIpAddressDnsSettings from the JsonReader.Get the reverseFqdn property: The reverse FQDN.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDomainNameLabel(String domainNameLabel) Set the domainNameLabel property: The domain name label.withDomainNameLabelScope(PublicIpAddressDnsSettingsDomainNameLabelScope domainNameLabelScope) Set the domainNameLabelScope property: The domain name label scope.Set the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP.withReverseFqdn(String reverseFqdn) Set the reverseFqdn property: The reverse FQDN.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
PublicIpAddressDnsSettings
public PublicIpAddressDnsSettings()Creates an instance of PublicIpAddressDnsSettings class.
-
-
Method Details
-
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
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.
-
domainNameLabelScope
Get the domainNameLabelScope property: The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.- Returns:
- the domainNameLabelScope value.
-
withDomainNameLabelScope
public PublicIpAddressDnsSettings withDomainNameLabelScope(PublicIpAddressDnsSettingsDomainNameLabelScope domainNameLabelScope) Set the domainNameLabelScope property: The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.- Parameters:
domainNameLabelScope- the domainNameLabelScope value to set.- Returns:
- the PublicIpAddressDnsSettings object itself.
-
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
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
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
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PublicIpAddressDnsSettings>- Throws:
IOException
-
fromJson
public static PublicIpAddressDnsSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PublicIpAddressDnsSettings from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PublicIpAddressDnsSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the PublicIpAddressDnsSettings.
-