Class Selector
java.lang.Object
com.azure.resourcemanager.resources.models.Selector
The selector expression.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionin()Get the in property: The list of values to filter in.kind()Get the kind property: The selector kind.notIn()Get the notIn property: The list of values to filter out.voidvalidate()Validates the instance.Set the in property: The list of values to filter in.withKind(SelectorKind kind) Set the kind property: The selector kind.Set the notIn property: The list of values to filter out.
-
Constructor Details
-
Selector
public Selector()Creates an instance of Selector class.
-
-
Method Details
-
kind
Get the kind property: The selector kind.- Returns:
- the kind value.
-
withKind
Set the kind property: The selector kind.- Parameters:
kind- the kind value to set.- Returns:
- the Selector object itself.
-
in
Get the in property: The list of values to filter in.- Returns:
- the in value.
-
withIn
Set the in property: The list of values to filter in.- Parameters:
in- the in value to set.- Returns:
- the Selector object itself.
-
notIn
Get the notIn property: The list of values to filter out.- Returns:
- the notIn value.
-
withNotIn
Set the notIn property: The list of values to filter out.- Parameters:
notIn- the notIn value to set.- Returns:
- the Selector object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-