Class ConnectionMonitorTestGroup
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup
-
public final class ConnectionMonitorTestGroup extends Object
Describes the connection monitor test group.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMonitorTestGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>destinations()Get the destinations property: List of destination endpoint names.Booleandisable()Get the disable property: Value indicating whether test group is disabled.Stringname()Get the name property: The name of the connection monitor test group.List<String>sources()Get the sources property: List of source endpoint names.List<String>testConfigurations()Get the testConfigurations property: List of test configuration names.voidvalidate()Validates the instance.ConnectionMonitorTestGroupwithDestinations(List<String> destinations)Set the destinations property: List of destination endpoint names.ConnectionMonitorTestGroupwithDisable(Boolean disable)Set the disable property: Value indicating whether test group is disabled.ConnectionMonitorTestGroupwithName(String name)Set the name property: The name of the connection monitor test group.ConnectionMonitorTestGroupwithSources(List<String> sources)Set the sources property: List of source endpoint names.ConnectionMonitorTestGroupwithTestConfigurations(List<String> testConfigurations)Set the testConfigurations property: List of test configuration names.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the connection monitor test group.- Returns:
- the name value.
-
withName
public ConnectionMonitorTestGroup withName(String name)
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
public Boolean disable()
Get the disable property: Value indicating whether test group is disabled.- Returns:
- the disable value.
-
withDisable
public ConnectionMonitorTestGroup withDisable(Boolean disable)
Set the disable property: Value indicating whether test group is disabled.- Parameters:
disable- the disable value to set.- Returns:
- the ConnectionMonitorTestGroup object itself.
-
testConfigurations
public List<String> testConfigurations()
Get the testConfigurations property: List of test configuration names.- Returns:
- the testConfigurations value.
-
withTestConfigurations
public ConnectionMonitorTestGroup withTestConfigurations(List<String> testConfigurations)
Set the testConfigurations property: List of test configuration names.- Parameters:
testConfigurations- the testConfigurations value to set.- Returns:
- the ConnectionMonitorTestGroup object itself.
-
sources
public List<String> sources()
Get the sources property: List of source endpoint names.- Returns:
- the sources value.
-
withSources
public ConnectionMonitorTestGroup withSources(List<String> sources)
Set the sources property: List of source endpoint names.- Parameters:
sources- the sources value to set.- Returns:
- the ConnectionMonitorTestGroup object itself.
-
destinations
public List<String> destinations()
Get the destinations property: List of destination endpoint names.- Returns:
- the destinations value.
-
withDestinations
public ConnectionMonitorTestGroup withDestinations(List<String> destinations)
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.
-
-