Class ConnectionMonitorEndpointFilter
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilter
-
public final class ConnectionMonitorEndpointFilter extends Object
Describes the connection monitor endpoint filter.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMonitorEndpointFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConnectionMonitorEndpointFilterItem>items()Get the items property: List of items in the filter.ConnectionMonitorEndpointFilterTypetype()Get the type property: The behavior of the endpoint filter.voidvalidate()Validates the instance.ConnectionMonitorEndpointFilterwithItems(List<ConnectionMonitorEndpointFilterItem> items)Set the items property: List of items in the filter.ConnectionMonitorEndpointFilterwithType(ConnectionMonitorEndpointFilterType type)Set the type property: The behavior of the endpoint filter.
-
-
-
Method Detail
-
type
public ConnectionMonitorEndpointFilterType type()
Get the type property: The behavior of the endpoint filter. Currently only 'Include' is supported.- Returns:
- the type value.
-
withType
public ConnectionMonitorEndpointFilter withType(ConnectionMonitorEndpointFilterType type)
Set the type property: The behavior of the endpoint filter. Currently only 'Include' is supported.- Parameters:
type- the type value to set.- Returns:
- the ConnectionMonitorEndpointFilter object itself.
-
items
public List<ConnectionMonitorEndpointFilterItem> items()
Get the items property: List of items in the filter.- Returns:
- the items value.
-
withItems
public ConnectionMonitorEndpointFilter withItems(List<ConnectionMonitorEndpointFilterItem> items)
Set the items property: List of items in the filter.- Parameters:
items- the items value to set.- Returns:
- the ConnectionMonitorEndpointFilter object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-