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