Class CustomDnsConfigPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.models.CustomDnsConfigPropertiesFormat
-
public final class CustomDnsConfigPropertiesFormat extends Object
Contains custom Dns resolution configuration from customer.
-
-
Constructor Summary
Constructors Constructor Description CustomDnsConfigPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfqdn()Get the fqdn property: Fqdn that resolves to private endpoint ip address.List<String>ipAddresses()Get the ipAddresses property: A list of private ip addresses of the private endpoint.voidvalidate()Validates the instance.CustomDnsConfigPropertiesFormatwithFqdn(String fqdn)Set the fqdn property: Fqdn that resolves to private endpoint ip address.CustomDnsConfigPropertiesFormatwithIpAddresses(List<String> ipAddresses)Set the ipAddresses property: A list of private ip addresses of the private endpoint.
-
-
-
Method Detail
-
fqdn
public String fqdn()
Get the fqdn property: Fqdn that resolves to private endpoint ip address.- Returns:
- the fqdn value.
-
withFqdn
public CustomDnsConfigPropertiesFormat withFqdn(String fqdn)
Set the fqdn property: Fqdn that resolves to private endpoint ip address.- Parameters:
fqdn- the fqdn value to set.- Returns:
- the CustomDnsConfigPropertiesFormat object itself.
-
ipAddresses
public List<String> ipAddresses()
Get the ipAddresses property: A list of private ip addresses of the private endpoint.- Returns:
- the ipAddresses value.
-
withIpAddresses
public CustomDnsConfigPropertiesFormat withIpAddresses(List<String> ipAddresses)
Set the ipAddresses property: A list of private ip addresses of the private endpoint.- Parameters:
ipAddresses- the ipAddresses value to set.- Returns:
- the CustomDnsConfigPropertiesFormat object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-