Package org.cdk8s.plus24
Class LabelExpression
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.LabelExpression
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-26T02:32:34.865Z") @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 protected
LabelExpression(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
LabelExpression(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LabelExpression
doesNotExist(String key)
Requires label `key` to not exist.static LabelExpression
exists(String key)
Requires label `key` to exist.String
getKey()
String
getOperator()
List<String>
getValues()
static LabelExpression
in(String key, List<String> values)
Requires value of label `key` to be one of `values`.static LabelExpression
notIn(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()
-
-