Class ConnectionMonitorTestGroup
java.lang.Object
com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup
Describes the connection monitor test group.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectionMonitorTestGroup class. -
Method Summary
Modifier and TypeMethodDescriptionGet the destinations property: List of destination endpoint names.disable()Get the disable property: Value indicating whether test group is disabled.name()Get the name property: The name of the connection monitor test group.sources()Get the sources property: List of source endpoint names.Get the testConfigurations property: List of test configuration names.voidvalidate()Validates the instance.withDestinations(List<String> destinations) Set the destinations property: List of destination endpoint names.withDisable(Boolean disable) Set the disable property: Value indicating whether test group is disabled.Set the name property: The name of the connection monitor test group.withSources(List<String> sources) Set the sources property: List of source endpoint names.withTestConfigurations(List<String> testConfigurations) Set the testConfigurations property: List of test configuration names.
-
Constructor Details
-
ConnectionMonitorTestGroup
public ConnectionMonitorTestGroup()Creates an instance of ConnectionMonitorTestGroup class.
-
-
Method Details
-
name
Get the name property: The name of the connection monitor test group.- Returns:
- the name value.
-
withName
Set the name property: The name of the connection monitor test group.- Parameters:
name- the name value to set.- Returns:
- the ConnectionMonitorTestGroup object itself.
-
disable
Get the disable property: Value indicating whether test group is disabled.- Returns:
- the disable value.
-
withDisable
Set the disable property: Value indicating whether test group is disabled.- Parameters:
disable- the disable value to set.- Returns:
- the ConnectionMonitorTestGroup object itself.
-
testConfigurations
Get the testConfigurations property: List of test configuration names.- Returns:
- the testConfigurations value.
-
withTestConfigurations
Set the testConfigurations property: List of test configuration names.- Parameters:
testConfigurations- the testConfigurations value to set.- Returns:
- the ConnectionMonitorTestGroup object itself.
-
sources
Get the sources property: List of source endpoint names.- Returns:
- the sources value.
-
withSources
Set the sources property: List of source endpoint names.- Parameters:
sources- the sources value to set.- Returns:
- the ConnectionMonitorTestGroup object itself.
-
destinations
Get the destinations property: List of destination endpoint names.- Returns:
- the destinations value.
-
withDestinations
Set the destinations property: List of destination endpoint names.- Parameters:
destinations- the destinations value to set.- Returns:
- the ConnectionMonitorTestGroup object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-