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