Package org.cdk8s.plus24.k8s
Class IdRangeV1Beta1.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.IdRangeV1Beta1.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IdRangeV1Beta1>
- Enclosing interface:
- IdRangeV1Beta1
@Stability(Stable) public static final class IdRangeV1Beta1.Builder extends Object implements software.amazon.jsii.Builder<IdRangeV1Beta1>
A builder forIdRangeV1Beta1
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdRangeV1Beta1
build()
Builds the configured instance.IdRangeV1Beta1.Builder
max(Number max)
Sets the value ofIdRangeV1Beta1.getMax()
IdRangeV1Beta1.Builder
min(Number min)
Sets the value ofIdRangeV1Beta1.getMin()
-
-
-
Method Detail
-
max
@Stability(Stable) public IdRangeV1Beta1.Builder max(Number max)
Sets the value ofIdRangeV1Beta1.getMax()
- Parameters:
max
- max is the end of the range, inclusive. This parameter is required.- Returns:
this
-
min
@Stability(Stable) public IdRangeV1Beta1.Builder min(Number min)
Sets the value ofIdRangeV1Beta1.getMin()
- Parameters:
min
- min is the start of the range, inclusive. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public IdRangeV1Beta1 build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IdRangeV1Beta1>
- Returns:
- a new instance of
IdRangeV1Beta1
- Throws:
NullPointerException
- if any required attribute was not provided
-
-