Package org.cdk8s.plus28.k8s
Class PodSchedulingGate.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.PodSchedulingGate.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PodSchedulingGate>
- Enclosing interface:
- PodSchedulingGate
@Stability(Stable) public static final class PodSchedulingGate.Builder extends Object implements software.amazon.jsii.Builder<PodSchedulingGate>
A builder forPodSchedulingGate
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodSchedulingGatebuild()Builds the configured instance.PodSchedulingGate.Buildername(String name)Sets the value ofPodSchedulingGate.getName()
-
-
-
Method Detail
-
name
@Stability(Stable) public PodSchedulingGate.Builder name(String name)
Sets the value ofPodSchedulingGate.getName()- Parameters:
name- Name of the scheduling gate. This parameter is required. Each scheduling gate must have a unique name field.- Returns:
this
-
build
@Stability(Stable) public PodSchedulingGate build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PodSchedulingGate>- Returns:
- a new instance of
PodSchedulingGate - Throws:
NullPointerException- if any required attribute was not provided
-
-