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