Class CfnLaunchTemplate.NetworkInterfaceCountProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLaunchTemplate.NetworkInterfaceCountProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplate.NetworkInterfaceCountProperty>
- Enclosing interface:
CfnLaunchTemplate.NetworkInterfaceCountProperty
@Stability(Stable)
public static final class CfnLaunchTemplate.NetworkInterfaceCountProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplate.NetworkInterfaceCountProperty>
A builder for
CfnLaunchTemplate.NetworkInterfaceCountProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnLaunchTemplate.NetworkInterfaceCountProperty.getMax()
Sets the value ofCfnLaunchTemplate.NetworkInterfaceCountProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
Sets the value ofCfnLaunchTemplate.NetworkInterfaceCountProperty.getMax()
- Parameters:
max
- The maximum number of network interfaces. To specify no maximum limit, omit this parameter.- Returns:
this
-
min
Sets the value ofCfnLaunchTemplate.NetworkInterfaceCountProperty.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplate.NetworkInterfaceCountProperty>
- Returns:
- a new instance of
CfnLaunchTemplate.NetworkInterfaceCountProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-