ConnectionMonitorEndpointScope Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionMonitorEndpointScope
- com.
Implements
public final class ConnectionMonitorEndpointScope
implements JsonSerializable<ConnectionMonitorEndpointScope>
Describes the connection monitor endpoint scope.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionMonitorEndpointScope() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Connection |
exclude()
Get the exclude property: List of items which needs to be excluded from the endpoint scope. |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
|
List<Connection |
include()
Get the include property: List of items which needs to be included to the endpoint scope. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Connection |
withExclude(List<ConnectionMonitorEndpointScopeItem> exclude)
Set the exclude property: List of items which needs to be excluded from the endpoint scope. |
|
Connection |
withInclude(List<ConnectionMonitorEndpointScopeItem> include)
Set the include property: List of items which needs to be included to the endpoint scope. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorEndpointScope
public ConnectionMonitorEndpointScope()
Creates an instance of ConnectionMonitorEndpointScope class.
Method Details
exclude
public List<ConnectionMonitorEndpointScopeItem> exclude()
Get the exclude property: List of items which needs to be excluded from the endpoint scope.
Returns:
fromJson
public static ConnectionMonitorEndpointScope fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorEndpointScope from the JsonReader.
Parameters:
Returns:
Throws:
include
public List<ConnectionMonitorEndpointScopeItem> include()
Get the include property: List of items which needs to be included to the endpoint scope.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExclude
public ConnectionMonitorEndpointScope withExclude(List<ConnectionMonitorEndpointScopeItem> exclude)
Set the exclude property: List of items which needs to be excluded from the endpoint scope.
Parameters:
Returns:
withInclude
public ConnectionMonitorEndpointScope withInclude(List<ConnectionMonitorEndpointScopeItem> include)
Set the include property: List of items which needs to be included to the endpoint scope.
Parameters:
Returns: