Class CfnSpotFleetPropsMixin.CpuPerformanceFactorRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSpotFleetPropsMixin.CpuPerformanceFactorRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.CpuPerformanceFactorRequestProperty>
- Enclosing interface:
CfnSpotFleetPropsMixin.CpuPerformanceFactorRequestProperty
@Stability(Stable)
public static final class CfnSpotFleetPropsMixin.CpuPerformanceFactorRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.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 CfnSpotFleetPropsMixin.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 CfnSpotFleetPropsMixin.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<CfnSpotFleetPropsMixin.CpuPerformanceFactorRequestProperty>- Returns:
- a new instance of
CfnSpotFleetPropsMixin.CpuPerformanceFactorRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-