Class CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty>
- Enclosing interface:
- CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty
@Stability(Stable)
public static final class CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty>
A builder for
CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.getMax()
Sets the value ofCfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
@Stability(Stable) public CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.Builder max(Number max) Sets the value ofCfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.getMax()
- Parameters:
max
- The maximum amount of network bandwidth, in gigabits per second (Gbps).- Returns:
this
-
min
@Stability(Stable) public CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.Builder min(Number min) Sets the value ofCfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty.getMin()
- Parameters:
min
- The minimum amount of network bandwidth, in gigabits per second (Gbps).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty>
- Returns:
- a new instance of
CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-