Class ConnectionMonitorEndpointFilterItem
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilterItem
-
public final class ConnectionMonitorEndpointFilterItem extends Object
Describes the connection monitor endpoint filter item.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMonitorEndpointFilterItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()Get the address property: The address of the filter item.ConnectionMonitorEndpointFilterItemTypetype()Get the type property: The type of item included in the filter.voidvalidate()Validates the instance.ConnectionMonitorEndpointFilterItemwithAddress(String address)Set the address property: The address of the filter item.ConnectionMonitorEndpointFilterItemwithType(ConnectionMonitorEndpointFilterItemType type)Set the type property: The type of item included in the filter.
-
-
-
Method Detail
-
type
public ConnectionMonitorEndpointFilterItemType type()
Get the type property: The type of item included in the filter. Currently only 'AgentAddress' is supported.- Returns:
- the type value.
-
withType
public ConnectionMonitorEndpointFilterItem withType(ConnectionMonitorEndpointFilterItemType type)
Set the type property: The type of item included in the filter. Currently only 'AgentAddress' is supported.- Parameters:
type- the type value to set.- Returns:
- the ConnectionMonitorEndpointFilterItem object itself.
-
address
public String address()
Get the address property: The address of the filter item.- Returns:
- the address value.
-
withAddress
public ConnectionMonitorEndpointFilterItem withAddress(String address)
Set the address property: The address of the filter item.- Parameters:
address- the address value to set.- Returns:
- the ConnectionMonitorEndpointFilterItem object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-