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