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