Class CfnSpotFleet.NetworkBandwidthGbpsRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnSpotFleet.NetworkBandwidthGbpsRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleet.NetworkBandwidthGbpsRequestProperty>
- Enclosing interface:
CfnSpotFleet.NetworkBandwidthGbpsRequestProperty
@Stability(Stable)
public static final class CfnSpotFleet.NetworkBandwidthGbpsRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleet.NetworkBandwidthGbpsRequestProperty>
A builder for
CfnSpotFleet.NetworkBandwidthGbpsRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSpotFleet.NetworkBandwidthGbpsRequestProperty.getMax()Sets the value ofCfnSpotFleet.NetworkBandwidthGbpsRequestProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
Sets the value ofCfnSpotFleet.NetworkBandwidthGbpsRequestProperty.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 ofCfnSpotFleet.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<CfnSpotFleet.NetworkBandwidthGbpsRequestProperty>- Returns:
- a new instance of
CfnSpotFleet.NetworkBandwidthGbpsRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-