Class ConnectionMonitorEndpointScope
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ConnectionMonitorEndpointScope
-
public final class ConnectionMonitorEndpointScope extends Object
Describes the connection monitor endpoint scope.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMonitorEndpointScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConnectionMonitorEndpointScopeItem>exclude()Get the exclude property: List of items which needs to be excluded from the endpoint scope.List<ConnectionMonitorEndpointScopeItem>include()Get the include property: List of items which needs to be included to the endpoint scope.voidvalidate()Validates the instance.ConnectionMonitorEndpointScopewithExclude(List<ConnectionMonitorEndpointScopeItem> exclude)Set the exclude property: List of items which needs to be excluded from the endpoint scope.ConnectionMonitorEndpointScopewithInclude(List<ConnectionMonitorEndpointScopeItem> include)Set the include property: List of items which needs to be included to the endpoint scope.
-
-
-
Method Detail
-
include
public List<ConnectionMonitorEndpointScopeItem> include()
Get the include property: List of items which needs to be included to the endpoint scope.- Returns:
- the include value.
-
withInclude
public ConnectionMonitorEndpointScope withInclude(List<ConnectionMonitorEndpointScopeItem> include)
Set the include property: List of items which needs to be included to the endpoint scope.- Parameters:
include- the include value to set.- Returns:
- the ConnectionMonitorEndpointScope object itself.
-
exclude
public List<ConnectionMonitorEndpointScopeItem> exclude()
Get the exclude property: List of items which needs to be excluded from the endpoint scope.- Returns:
- the exclude value.
-
withExclude
public ConnectionMonitorEndpointScope withExclude(List<ConnectionMonitorEndpointScopeItem> exclude)
Set the exclude property: List of items which needs to be excluded from the endpoint scope.- Parameters:
exclude- the exclude value to set.- Returns:
- the ConnectionMonitorEndpointScope object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-