Class CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty>
- Enclosing interface:
CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty
@Stability(Stable)
public static final class CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty>
A builder for
CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.getMax()Sets the value ofCfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
@Stability(Stable) public CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.Builder max(Number max) Sets the value ofCfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.getMax()- Parameters:
max- The maximum network bandwidth in Gbps. Instance types with higher network bandwidth are excluded from selection.- Returns:
this
-
min
@Stability(Stable) public CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.Builder min(Number min) Sets the value ofCfnCapacityProvider.NetworkBandwidthGbpsRequestProperty.getMin()- Parameters:
min- The minimum network bandwidth in Gbps. Instance types with lower network bandwidth are excluded from selection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty>- Returns:
- a new instance of
CfnCapacityProvider.NetworkBandwidthGbpsRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-