Class CfnEC2Fleet.TotalLocalStorageGBRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnEC2Fleet.TotalLocalStorageGBRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEC2Fleet.TotalLocalStorageGBRequestProperty>
- Enclosing interface:
CfnEC2Fleet.TotalLocalStorageGBRequestProperty
@Stability(Stable)
public static final class CfnEC2Fleet.TotalLocalStorageGBRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEC2Fleet.TotalLocalStorageGBRequestProperty>
A builder for
CfnEC2Fleet.TotalLocalStorageGBRequestProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEC2Fleet.TotalLocalStorageGBRequestProperty.getMax()
Sets the value ofCfnEC2Fleet.TotalLocalStorageGBRequestProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
Sets the value ofCfnEC2Fleet.TotalLocalStorageGBRequestProperty.getMax()
- Parameters:
max
- The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.- Returns:
this
-
min
Sets the value ofCfnEC2Fleet.TotalLocalStorageGBRequestProperty.getMin()
- Parameters:
min
- The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEC2Fleet.TotalLocalStorageGBRequestProperty>
- Returns:
- a new instance of
CfnEC2Fleet.TotalLocalStorageGBRequestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-