Class FilterItems
java.lang.Object
com.azure.resourcemanager.network.models.FilterItems
Will contain the filter name and values to operate on.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfield()Get the field property: The name of the field we would like to filter.voidvalidate()Validates the instance.values()Get the values property: List of values to filter the current field by.Set the field property: The name of the field we would like to filter.withValues(List<String> values) Set the values property: List of values to filter the current field by.
-
Constructor Details
-
FilterItems
public FilterItems()Creates an instance of FilterItems class.
-
-
Method Details
-
field
Get the field property: The name of the field we would like to filter.- Returns:
- the field value.
-
withField
Set the field property: The name of the field we would like to filter.- Parameters:
field- the field value to set.- Returns:
- the FilterItems object itself.
-
values
Get the values property: List of values to filter the current field by.- Returns:
- the values value.
-
withValues
Set the values property: List of values to filter the current field by.- Parameters:
values- the values value to set.- Returns:
- the FilterItems object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-