Class CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty>
- Enclosing interface:
CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty
@Stability(Stable)
public static final class CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.templateId(String templateId) Sets the value ofCfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
templateId
@Stability(Stable) public CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty.Builder templateId(String templateId) - Parameters:
templateId- The ID of the EC2 launch template to use to provision instances.- Returns:
this
-
version
@Stability(Stable) public CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty.Builder version(String version) Sets the value ofCfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty.getVersion()- Parameters:
version- The version of the EC2 launch template to use to provision instances.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty>- Returns:
- a new instance of
CfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty - Throws:
NullPointerException- if any required attribute was not provided
-