Class CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty>
- Enclosing interface:
CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty
@Stability(Stable)
public static final class CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
@Stability(Stable) public CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty.Builder max(Number max) - Parameters:
max- The maximum number of network interfaces. Instance types that support more network interfaces are excluded from selection.- Returns:
this
-
min
@Stability(Stable) public CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty.Builder min(Number min) - Parameters:
min- The minimum number of network interfaces. Instance types that support fewer network interfaces are excluded from selection.- Returns:
this
-
build
@Stability(Stable) public CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty>- Returns:
- a new instance of
CfnCapacityProviderPropsMixin.NetworkInterfaceCountRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-