Class CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty>
- Enclosing interface:
CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty
@Stability(Stable)
public static final class CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.getCpu()cpu(IResolvable cpu) Sets the value ofCfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.getCpu()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cpu
@Stability(Stable) public CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder cpu(IResolvable cpu) Sets the value ofCfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.getCpu()- Parameters:
cpu- The CPU performance to consider, using an instance family as the baseline reference.- Returns:
this
-
cpu
@Stability(Stable) public CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder cpu(CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty cpu) Sets the value ofCfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty.getCpu()- 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<CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty>- Returns:
- a new instance of
CfnEC2FleetPropsMixin.BaselinePerformanceFactorsRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-