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