public static final class CfnSpotFleet.NetworkInterfaceCountRequestProperty.Builder
extends java.lang.Object
CfnSpotFleet.NetworkInterfaceCountRequestProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSpotFleet.NetworkInterfaceCountRequestProperty |
build()
Builds the configured instance.
|
CfnSpotFleet.NetworkInterfaceCountRequestProperty.Builder |
max(java.lang.Number max)
Sets the value of
CfnSpotFleet.NetworkInterfaceCountRequestProperty.getMax() |
CfnSpotFleet.NetworkInterfaceCountRequestProperty.Builder |
min(java.lang.Number min)
Sets the value of
CfnSpotFleet.NetworkInterfaceCountRequestProperty.getMin() |
public CfnSpotFleet.NetworkInterfaceCountRequestProperty.Builder max(java.lang.Number max)
CfnSpotFleet.NetworkInterfaceCountRequestProperty.getMax()
max
- The maximum number of network interfaces.
To specify no maximum limit, omit this parameter.this
public CfnSpotFleet.NetworkInterfaceCountRequestProperty.Builder min(java.lang.Number min)
CfnSpotFleet.NetworkInterfaceCountRequestProperty.getMin()
min
- The minimum number of network interfaces.
To specify no minimum limit, omit this parameter.this
public CfnSpotFleet.NetworkInterfaceCountRequestProperty build()
CfnSpotFleet.NetworkInterfaceCountRequestProperty
java.lang.NullPointerException
- if any required attribute was not provided