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