Class CfnLaunchTemplatePropsMixin.CpuProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.CpuProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.CpuProperty>
- Enclosing interface:
CfnLaunchTemplatePropsMixin.CpuProperty
@Stability(Stable)
public static final class CfnLaunchTemplatePropsMixin.CpuProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.CpuProperty>
A builder for
CfnLaunchTemplatePropsMixin.CpuProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.references(List<? extends Object> references) Sets the value ofCfnLaunchTemplatePropsMixin.CpuProperty.getReferences()references(IResolvable references) Sets the value ofCfnLaunchTemplatePropsMixin.CpuProperty.getReferences()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
references
@Stability(Stable) public CfnLaunchTemplatePropsMixin.CpuProperty.Builder references(IResolvable references) Sets the value ofCfnLaunchTemplatePropsMixin.CpuProperty.getReferences()- Parameters:
references- The instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.- Returns:
this
-
references
@Stability(Stable) public CfnLaunchTemplatePropsMixin.CpuProperty.Builder references(List<? extends Object> references) Sets the value ofCfnLaunchTemplatePropsMixin.CpuProperty.getReferences()- Parameters:
references- The instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.CpuProperty>- Returns:
- a new instance of
CfnLaunchTemplatePropsMixin.CpuProperty - Throws:
NullPointerException- if any required attribute was not provided
-