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