Class CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty>
- Enclosing interface:
CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty
@Stability(Stable)
public static final class CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.references(List<? extends Object> references) references(IResolvable references)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
references
@Stability(Stable) public CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty.Builder references(IResolvable references) - 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 CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty.Builder references(List<? extends Object> references) - 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty>- Returns:
- a new instance of
CfnEC2FleetPropsMixin.CpuPerformanceFactorRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-