Class CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty>
- Enclosing interface:
CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty
@Stability(Stable)
public static final class CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cpu
@Stability(Stable) public CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder cpu(IResolvable cpu) - Parameters:
cpu- The CPU performance to consider, using an instance family as the baseline reference.- Returns:
this
-
cpu
@Stability(Stable) public CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder cpu(CfnSpotFleetPropsMixin.CpuPerformanceFactorRequestProperty cpu) - Parameters:
cpu- The CPU performance to consider, using an instance family as the baseline reference.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty>- Returns:
- a new instance of
CfnSpotFleetPropsMixin.BaselinePerformanceFactorsRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-