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.82.0 (build 2d2ddd7)", date="2023-05-25T02:26:40.607Z") @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 labelkey
to not exist.static LabelExpression
exists(String key)
Requires labelkey
to exist.String
getKey()
String
getOperator()
List<String>
getValues()
static LabelExpression
in(String key, List<String> values)
Requires value of labelkey
to be one ofvalues
.static LabelExpression
notIn(String key, List<String> values)
Requires value of labelkey
to be none ofvalues
.-
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 labelkey
to not exist.- Parameters:
key
- This parameter is required.
-
exists
@Stability(Stable) @NotNull public static LabelExpression exists(@NotNull String key)
Requires labelkey
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 labelkey
to be one ofvalues
.- 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 labelkey
to be none ofvalues
.- 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()
-
-