Package org.cdk8s.plus20
Enum LabelSelectorRequirementOperator
- java.lang.Object
-
- java.lang.Enum<LabelSelectorRequirementOperator>
-
- org.cdk8s.plus20.LabelSelectorRequirementOperator
-
- All Implemented Interfaces:
Serializable,Comparable<LabelSelectorRequirementOperator>
@Generated(value="jsii-pacmak/1.59.0 (build eb02c92)", date="2022-05-18T23:19:48.631Z") @Stability(Stable) public enum LabelSelectorRequirementOperator extends Enum<LabelSelectorRequirementOperator>
Possible operators.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOES_NOT_EXISTDoesNotExist.EXISTSExists.INIn.NOT_INNotIn.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LabelSelectorRequirementOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static LabelSelectorRequirementOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN
@Stability(Stable) public static final LabelSelectorRequirementOperator IN
In.
-
NOT_IN
@Stability(Stable) public static final LabelSelectorRequirementOperator NOT_IN
NotIn.
-
EXISTS
@Stability(Stable) public static final LabelSelectorRequirementOperator EXISTS
Exists.
-
DOES_NOT_EXIST
@Stability(Stable) public static final LabelSelectorRequirementOperator DOES_NOT_EXIST
DoesNotExist.
-
-
Method Detail
-
values
public static LabelSelectorRequirementOperator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LabelSelectorRequirementOperator c : LabelSelectorRequirementOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LabelSelectorRequirementOperator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-