Package org.cdk8s.plus23
Interface PodsSelectOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodsSelectOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-07-06T20:17:23.689Z") @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 classPodsSelectOptions.BuilderA builder forPodsSelectOptionsstatic classPodsSelectOptions.Jsii$ProxyAn implementation forPodsSelectOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodsSelectOptions.Builderbuilder()default List<LabelExpression>getExpressions()Expressions the pods must satisify.default Map<String,String>getLabels()Labels the pods must have.default NamespacesgetNamespaces()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.BuilderofPodsSelectOptions
-
-