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 Details

    • CustomDnsConfigPropertiesFormat

      public CustomDnsConfigPropertiesFormat()
      Creates an instance of CustomDnsConfigPropertiesFormat class.
  • Method Details

    • 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.