Package org.cdk8s.plus23
Class LabelExpression
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus23.LabelExpression
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-07-06T20:17:23.620Z") @Stability(Stable) public class LabelExpression extends software.amazon.jsii.JsiiObject
Represents a query that can be performed against resources with labels.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLabelExpression(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedLabelExpression(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LabelExpressiondoesNotExist(String key)Requires label `key` to not exist.static LabelExpressionexists(String key)Requires label `key` to exist.StringgetKey()StringgetOperator()List<String>getValues()static LabelExpressionin(String key, List<String> values)Requires value of label `key` to be one of `values`.static LabelExpressionnotIn(String key, List<String> values)Requires value of label `key` to be none of `values`.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Method Detail
-
doesNotExist
@Stability(Stable) @NotNull public static LabelExpression doesNotExist(@NotNull String key)
Requires label `key` to not exist.- Parameters:
key- This parameter is required.
-
exists
@Stability(Stable) @NotNull public static LabelExpression exists(@NotNull String key)
Requires label `key` to exist.- Parameters:
key- This parameter is required.
-
in
@Stability(Stable) @NotNull public static LabelExpression in(@NotNull String key, @NotNull List<String> values)
Requires value of label `key` to be one of `values`.- Parameters:
key- This parameter is required.values- This parameter is required.
-
notIn
@Stability(Stable) @NotNull public static LabelExpression notIn(@NotNull String key, @NotNull List<String> values)
Requires value of label `key` to be none of `values`.- Parameters:
key- This parameter is required.values- This parameter is required.
-
getKey
@Stability(Stable) @NotNull public String getKey()
-
getOperator
@Stability(Stable) @NotNull public String getOperator()
-
-