Class CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty>
- Enclosing interface:
CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty
@Stability(Stable)
public static final class CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.marketTypes(List<String> marketTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
marketTypes
@Stability(Stable) public CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty.Builder marketTypes(List<String> marketTypes) Sets the value ofCfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty.getMarketTypes()- Parameters:
marketTypes- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty>- Returns:
- a new instance of
CfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-