Class CfnCapacityProvider.TotalLocalStorageGBRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnCapacityProvider.TotalLocalStorageGBRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityProvider.TotalLocalStorageGBRequestProperty>
- Enclosing interface:
CfnCapacityProvider.TotalLocalStorageGBRequestProperty
@Stability(Stable)
public static final class CfnCapacityProvider.TotalLocalStorageGBRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityProvider.TotalLocalStorageGBRequestProperty>
A builder for
CfnCapacityProvider.TotalLocalStorageGBRequestProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCapacityProvider.TotalLocalStorageGBRequestProperty.getMax()
Sets the value ofCfnCapacityProvider.TotalLocalStorageGBRequestProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
@Stability(Stable) public CfnCapacityProvider.TotalLocalStorageGBRequestProperty.Builder max(Number max) Sets the value ofCfnCapacityProvider.TotalLocalStorageGBRequestProperty.getMax()
- Parameters:
max
- the value to be set.- Returns:
this
-
min
@Stability(Stable) public CfnCapacityProvider.TotalLocalStorageGBRequestProperty.Builder min(Number min) Sets the value ofCfnCapacityProvider.TotalLocalStorageGBRequestProperty.getMin()
- Parameters:
min
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCapacityProvider.TotalLocalStorageGBRequestProperty>
- Returns:
- a new instance of
CfnCapacityProvider.TotalLocalStorageGBRequestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-