Class CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty>
- Enclosing interface:
CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty
@Stability(Stable)
public static final class CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
@Stability(Stable) public CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty.Builder count(Number count) Sets the value ofCfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
type
@Stability(Stable) public CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty.Builder type(String type) Sets the value ofCfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty.getType()- Parameters:
type- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty>- Returns:
- a new instance of
CfnLaunchTemplatePropsMixin.LaunchTemplateElasticInferenceAcceleratorProperty - Throws:
NullPointerException- if any required attribute was not provided
-