Class NetworkStatusContractInner


  • public final class NetworkStatusContractInner
    extends Object
    Network Status details.
    • Constructor Detail

      • NetworkStatusContractInner

        public NetworkStatusContractInner()
    • Method Detail

      • dnsServers

        public List<String> dnsServers()
        Get the dnsServers property: Gets the list of DNS servers IPV4 addresses.
        Returns:
        the dnsServers value.
      • withDnsServers

        public NetworkStatusContractInner withDnsServers​(List<String> dnsServers)
        Set the dnsServers property: Gets the list of DNS servers IPV4 addresses.
        Parameters:
        dnsServers - the dnsServers value to set.
        Returns:
        the NetworkStatusContractInner object itself.
      • connectivityStatus

        public List<ConnectivityStatusContract> connectivityStatus()
        Get the connectivityStatus property: Gets the list of Connectivity Status to the Resources on which the service depends upon.
        Returns:
        the connectivityStatus value.
      • withConnectivityStatus

        public NetworkStatusContractInner withConnectivityStatus​(List<ConnectivityStatusContract> connectivityStatus)
        Set the connectivityStatus property: Gets the list of Connectivity Status to the Resources on which the service depends upon.
        Parameters:
        connectivityStatus - the connectivityStatus value to set.
        Returns:
        the NetworkStatusContractInner object itself.
      • validate

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