Class CfnLaunchTemplate.ElasticGpuSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLaunchTemplate.ElasticGpuSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplate.ElasticGpuSpecificationProperty>
- Enclosing interface:
- CfnLaunchTemplate.ElasticGpuSpecificationProperty
@Stability(Stable)
public static final class CfnLaunchTemplate.ElasticGpuSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplate.ElasticGpuSpecificationProperty>
A builder for
CfnLaunchTemplate.ElasticGpuSpecificationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnLaunchTemplate.ElasticGpuSpecificationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnLaunchTemplate.ElasticGpuSpecificationProperty.Builder type(String type) Sets the value ofCfnLaunchTemplate.ElasticGpuSpecificationProperty.getType()
- Parameters:
type
- The type of Elastic Graphics accelerator. For more information about the values to specify forType
, see Elastic Graphics Basics , specifically the Elastic Graphics accelerator column, in the Amazon Elastic Compute Cloud User Guide for Windows Instances .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplate.ElasticGpuSpecificationProperty>
- Returns:
- a new instance of
CfnLaunchTemplate.ElasticGpuSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-