ConnectionMonitorTestGroup Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionMonitorTestGroup
- com.
Implements
public final class ConnectionMonitorTestGroup
implements JsonSerializable<ConnectionMonitorTestGroup>
Describes the connection monitor test group.
Constructor Summary
Constructor | Description |
---|---|
ConnectionMonitorTestGroup() |
Creates an instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
destinations()
Get the destinations property: List of destination endpoint names. |
Boolean |
disable()
Get the disable property: Value indicating whether test group is disabled. |
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
String |
name()
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 test |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Connection |
withDestinations(List<String> destinations)
Set the destinations property: List of destination endpoint names. |
Connection |
withDisable(Boolean disable)
Set the disable property: Value indicating whether test group is disabled. |
Connection |
withName(String name)
Set the name property: The name of the connection monitor test group. |
Connection |
withSources(List<String> sources)
Set the sources property: List of source endpoint names. |
Connection |
withTestConfigurations(List<String> testConfigurations)
Set the test |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorTestGroup
public ConnectionMonitorTestGroup()
Creates an instance of ConnectionMonitorTestGroup class.
Method Details
destinations
public List
Get the destinations property: List of destination endpoint names.
Returns:
disable
public Boolean disable()
Get the disable property: Value indicating whether test group is disabled.
Returns:
fromJson
public static ConnectionMonitorTestGroup fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorTestGroup from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the connection monitor test group.
Returns:
sources
public List
Get the sources property: List of source endpoint names.
Returns:
testConfigurations
public List
Get the testConfigurations property: List of test configuration names.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDestinations
public ConnectionMonitorTestGroup withDestinations(List
Set the destinations property: List of destination endpoint names.
Parameters:
Returns:
withDisable
public ConnectionMonitorTestGroup withDisable(Boolean disable)
Set the disable property: Value indicating whether test group is disabled.
Parameters:
Returns:
withName
public ConnectionMonitorTestGroup withName(String name)
Set the name property: The name of the connection monitor test group.
Parameters:
Returns:
withSources
public ConnectionMonitorTestGroup withSources(List
Set the sources property: List of source endpoint names.
Parameters:
Returns:
withTestConfigurations
public ConnectionMonitorTestGroup withTestConfigurations(List
Set the testConfigurations property: List of test configuration names.
Parameters:
Returns:
Applies to
Azure SDK for Java