Selector Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. Selector
- com.
Implements
public final class Selector
implements JsonSerializable<Selector>
The selector expression.
Constructor Summary
Constructor | Description |
---|---|
Selector() |
Creates an instance of Selector class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Selector |
fromJson(JsonReader jsonReader)
Reads an instance of Selector from the Json |
List<String> |
in()
Get the in property: The list of values to filter in. |
Selector |
kind()
Get the kind property: The selector kind. |
List<String> |
notIn()
Get the not |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Selector |
withIn(List<String> in)
Set the in property: The list of values to filter in. |
Selector |
withKind(SelectorKind kind)
Set the kind property: The selector kind. |
Selector |
withNotIn(List<String> notIn)
Set the not |
Methods inherited from java.lang.Object
Constructor Details
Selector
public Selector()
Creates an instance of Selector class.
Method Details
fromJson
public static Selector fromJson(JsonReader jsonReader)
Reads an instance of Selector from the JsonReader.
Parameters:
Returns:
Throws:
in
public List
Get the in property: The list of values to filter in.
Returns:
kind
public SelectorKind kind()
Get the kind property: The selector kind.
Returns:
notIn
public List
Get the notIn property: The list of values to filter out.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIn
public Selector withIn(List
Set the in property: The list of values to filter in.
Parameters:
Returns:
withKind
public Selector withKind(SelectorKind kind)
Set the kind property: The selector kind.
Parameters:
Returns:
withNotIn
public Selector withNotIn(List
Set the notIn property: The list of values to filter out.
Parameters:
Returns:
Applies to
Azure SDK for Java