Package org.cdk8s.plus24
Interface PodsSelectOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodsSelectOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.59.0 (build eb02c92)", date="2022-05-25T20:54:33.753Z") @Stability(Stable) public interface PodsSelectOptions extends software.amazon.jsii.JsiiSerializable
Options for `Pods.select`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PodsSelectOptions.Builder
A builder forPodsSelectOptions
static class
PodsSelectOptions.Jsii$Proxy
An implementation forPodsSelectOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodsSelectOptions.Builder
builder()
default List<LabelExpression>
getExpressions()
Expressions the pods must satisify.default Map<String,String>
getLabels()
Labels the pods must have.default Namespaces
getNamespaces()
Namespaces the pods are allowed to be in.
-
-
-
Method Detail
-
getExpressions
@Stability(Stable) @Nullable default List<LabelExpression> getExpressions()
Expressions the pods must satisify.Default: - no expressions requirements.
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
Labels the pods must have.Default: - no strict labels requirements.
-
getNamespaces
@Stability(Stable) @Nullable default Namespaces getNamespaces()
Namespaces the pods are allowed to be in.Use
Namespaces.all()
to allow all namespaces.Default: - unset, implies the namespace of the resource this selection is used in.
-
builder
@Stability(Stable) static PodsSelectOptions.Builder builder()
- Returns:
- a
PodsSelectOptions.Builder
ofPodsSelectOptions
-
-