Package org.cdk8s.plus25.k8s
Class ScopeSelector.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.ScopeSelector.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ScopeSelector>
- Enclosing interface:
- ScopeSelector
@Stability(Stable) public static final class ScopeSelector.Builder extends Object implements software.amazon.jsii.Builder<ScopeSelector>
A builder forScopeSelector
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScopeSelectorbuild()Builds the configured instance.ScopeSelector.BuildermatchExpressions(List<? extends ScopedResourceSelectorRequirement> matchExpressions)Sets the value ofScopeSelector.getMatchExpressions()
-
-
-
Method Detail
-
matchExpressions
@Stability(Stable) public ScopeSelector.Builder matchExpressions(List<? extends ScopedResourceSelectorRequirement> matchExpressions)
Sets the value ofScopeSelector.getMatchExpressions()- Parameters:
matchExpressions- A list of scope selector requirements by scope of the resources.- Returns:
this
-
build
@Stability(Stable) public ScopeSelector build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ScopeSelector>- Returns:
- a new instance of
ScopeSelector - Throws:
NullPointerException- if any required attribute was not provided
-
-