LabelSelectorOperator Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. LabelSelectorOperator
- com.
- com.
public final class LabelSelectorOperator
extends ExpandableStringEnum<LabelSelectorOperator>
operator represents a Kubernetes label selector requirement's relationship to a set of values.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Label |
DOES_NOT_EXIST
The label key must not exist. |
|
static final
Label |
EXISTS
The label key must exist, regardless of its value. |
|
static final
Label |
IN
The label value must be in the supplied set of values. |
|
static final
Label |
NOT_IN
The label value must not be in the supplied set of values. |
Constructor Summary
| Constructor | Description |
|---|---|
| LabelSelectorOperator() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Label |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Label |
fromString(String name)
Creates or finds a Label |
|
static
Collection<Label |
values()
Gets known Label |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DOES_NOT_EXIST
public static final LabelSelectorOperator DOES_NOT_EXIST
The label key must not exist.
EXISTS
public static final LabelSelectorOperator EXISTS
The label key must exist, regardless of its value.
IN
public static final LabelSelectorOperator IN
The label value must be in the supplied set of values.
NOT_IN
public static final LabelSelectorOperator NOT_IN
The label value must not be in the supplied set of values.
Constructor Details
LabelSelectorOperator
@Deprecated
public LabelSelectorOperator()
Deprecated
Creates a new instance of LabelSelectorOperator value.
Method Details
fromString
public static LabelSelectorOperator fromString(String name)
Creates or finds a LabelSelectorOperator from its string representation.
Parameters:
Returns:
values
public static Collection<LabelSelectorOperator> values()
Gets known LabelSelectorOperator values.
Returns: