Class WorkloadNetworkDnsServiceProperties

java.lang.Object
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsServiceProperties

public final class WorkloadNetworkDnsServiceProperties extends Object
NSX DNS Service Properties.
  • Constructor Details

    • WorkloadNetworkDnsServiceProperties

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

    • displayName

      public String displayName()
      Get the displayName property: Display name of the DNS Service.
      Returns:
      the displayName value.
    • withDisplayName

      public WorkloadNetworkDnsServiceProperties withDisplayName(String displayName)
      Set the displayName property: Display name of the DNS Service.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the WorkloadNetworkDnsServiceProperties object itself.
    • dnsServiceIp

      public String dnsServiceIp()
      Get the dnsServiceIp property: DNS service IP of the DNS Service.
      Returns:
      the dnsServiceIp value.
    • withDnsServiceIp

      public WorkloadNetworkDnsServiceProperties withDnsServiceIp(String dnsServiceIp)
      Set the dnsServiceIp property: DNS service IP of the DNS Service.
      Parameters:
      dnsServiceIp - the dnsServiceIp value to set.
      Returns:
      the WorkloadNetworkDnsServiceProperties object itself.
    • defaultDnsZone

      public String defaultDnsZone()
      Get the defaultDnsZone property: Default DNS zone of the DNS Service.
      Returns:
      the defaultDnsZone value.
    • withDefaultDnsZone

      public WorkloadNetworkDnsServiceProperties withDefaultDnsZone(String defaultDnsZone)
      Set the defaultDnsZone property: Default DNS zone of the DNS Service.
      Parameters:
      defaultDnsZone - the defaultDnsZone value to set.
      Returns:
      the WorkloadNetworkDnsServiceProperties object itself.
    • fqdnZones

      public List<String> fqdnZones()
      Get the fqdnZones property: FQDN zones of the DNS Service.
      Returns:
      the fqdnZones value.
    • withFqdnZones

      public WorkloadNetworkDnsServiceProperties withFqdnZones(List<String> fqdnZones)
      Set the fqdnZones property: FQDN zones of the DNS Service.
      Parameters:
      fqdnZones - the fqdnZones value to set.
      Returns:
      the WorkloadNetworkDnsServiceProperties object itself.
    • logLevel

      public DnsServiceLogLevelEnum logLevel()
      Get the logLevel property: DNS Service log level.
      Returns:
      the logLevel value.
    • withLogLevel

      Set the logLevel property: DNS Service log level.
      Parameters:
      logLevel - the logLevel value to set.
      Returns:
      the WorkloadNetworkDnsServiceProperties object itself.
    • status

      public DnsServiceStatusEnum status()
      Get the status property: DNS Service status.
      Returns:
      the status value.
    • provisioningState

      public WorkloadNetworkDnsServiceProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state.
      Returns:
      the provisioningState value.
    • revision

      public Long revision()
      Get the revision property: NSX revision number.
      Returns:
      the revision value.
    • withRevision

      public WorkloadNetworkDnsServiceProperties withRevision(Long revision)
      Set the revision property: NSX revision number.
      Parameters:
      revision - the revision value to set.
      Returns:
      the WorkloadNetworkDnsServiceProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.