Class WorkloadNetworkDnsZoneProperties


  • public final class WorkloadNetworkDnsZoneProperties
    extends Object
    NSX DNS Zone Properties.
    • Constructor Detail

      • WorkloadNetworkDnsZoneProperties

        public WorkloadNetworkDnsZoneProperties()
    • Method Detail

      • displayName

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

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

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

        public WorkloadNetworkDnsZoneProperties withDomain​(List<String> domain)
        Set the domain property: Domain names of the DNS Zone.
        Parameters:
        domain - the domain value to set.
        Returns:
        the WorkloadNetworkDnsZoneProperties 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 WorkloadNetworkDnsZoneProperties 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 WorkloadNetworkDnsZoneProperties object itself.
      • sourceIp

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

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

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

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

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

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

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