Class CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty>
- Enclosing interface:
CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty
@Stability(Stable)
public static final class CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty>
A builder for
CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.references
(List<? extends Object> references) Sets the value ofCfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.getReferences()
references
(IResolvable references) Sets the value ofCfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.getReferences()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
references
@Stability(Stable) public CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.Builder references(IResolvable references) Sets the value ofCfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.getReferences()
- Parameters:
references
- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.Currently only one instance family can be specified in the list.
- Returns:
this
-
references
@Stability(Stable) public CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.Builder references(List<? extends Object> references) Sets the value ofCfnAutoScalingGroup.CpuPerformanceFactorRequestProperty.getReferences()
- Parameters:
references
- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.Currently only one instance family can be specified in the list.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty>
- Returns:
- a new instance of
CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-