Class NetworkStatusContractInner
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.NetworkStatusContractInner
-
public final class NetworkStatusContractInner extends Object
Network Status details.
-
-
Constructor Summary
Constructors Constructor Description NetworkStatusContractInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConnectivityStatusContract>
connectivityStatus()
Get the connectivityStatus property: Gets the list of Connectivity Status to the Resources on which the service depends upon.List<String>
dnsServers()
Get the dnsServers property: Gets the list of DNS servers IPV4 addresses.void
validate()
Validates the instance.NetworkStatusContractInner
withConnectivityStatus(List<ConnectivityStatusContract> connectivityStatus)
Set the connectivityStatus property: Gets the list of Connectivity Status to the Resources on which the service depends upon.NetworkStatusContractInner
withDnsServers(List<String> dnsServers)
Set the dnsServers property: Gets the list of DNS servers IPV4 addresses.
-
-
-
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.
-
-