Class WorkloadNetworkDnsZoneInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsZoneInner

public final class WorkloadNetworkDnsZoneInner extends com.azure.core.management.ProxyResource
NSX DNS Zone.
  • Constructor Details

    • WorkloadNetworkDnsZoneInner

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

    • displayName

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

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

      public List<String> domain()
      Get the domain property: Domain names of the DNS Zone.
      Returns:
      the domain value.
    • withDomain

      public WorkloadNetworkDnsZoneInner withDomain(List<String> domain)
      Set the domain property: Domain names of the DNS Zone.
      Parameters:
      domain - the domain value to set.
      Returns:
      the WorkloadNetworkDnsZoneInner object itself.
    • dnsServerIps

      public List<String> dnsServerIps()
      Get the dnsServerIps property: DNS Server IP array of the DNS Zone.
      Returns:
      the dnsServerIps value.
    • withDnsServerIps

      public WorkloadNetworkDnsZoneInner withDnsServerIps(List<String> dnsServerIps)
      Set the dnsServerIps property: DNS Server IP array of the DNS Zone.
      Parameters:
      dnsServerIps - the dnsServerIps value to set.
      Returns:
      the WorkloadNetworkDnsZoneInner object itself.
    • sourceIp

      public String sourceIp()
      Get the sourceIp property: Source IP of the DNS Zone.
      Returns:
      the sourceIp value.
    • withSourceIp

      public WorkloadNetworkDnsZoneInner withSourceIp(String sourceIp)
      Set the sourceIp property: Source IP of the DNS Zone.
      Parameters:
      sourceIp - the sourceIp value to set.
      Returns:
      the WorkloadNetworkDnsZoneInner object itself.
    • dnsServices

      public Long dnsServices()
      Get the dnsServices property: Number of DNS Services using the DNS zone.
      Returns:
      the dnsServices value.
    • withDnsServices

      public WorkloadNetworkDnsZoneInner withDnsServices(Long dnsServices)
      Set the dnsServices property: Number of DNS Services using the DNS zone.
      Parameters:
      dnsServices - the dnsServices value to set.
      Returns:
      the WorkloadNetworkDnsZoneInner object itself.
    • provisioningState

      public WorkloadNetworkDnsZoneProvisioningState 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 WorkloadNetworkDnsZoneInner withRevision(Long revision)
      Set the revision property: NSX revision number.
      Parameters:
      revision - the revision value to set.
      Returns:
      the WorkloadNetworkDnsZoneInner object itself.
    • validate

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