Class CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty>
- Enclosing interface:
CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty
@Stability(Stable)
public static final class CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.launchTemplateId
(String launchTemplateId) launchTemplateName
(String launchTemplateName) launchTemplateVersion
(String launchTemplateVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
launchTemplateId
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.Builder launchTemplateId(String launchTemplateId) Sets the value ofCfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.getLaunchTemplateId()
- Parameters:
launchTemplateId
- The ID of the launch template to use for faster launching for a Windows AMI.- Returns:
this
-
launchTemplateName
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.Builder launchTemplateName(String launchTemplateName) Sets the value ofCfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.getLaunchTemplateName()
- Parameters:
launchTemplateName
- The name of the launch template to use for faster launching for a Windows AMI.- Returns:
this
-
launchTemplateVersion
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.Builder launchTemplateVersion(String launchTemplateVersion) Sets the value ofCfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.getLaunchTemplateVersion()
- Parameters:
launchTemplateVersion
- The version of the launch template to use for faster launching for a Windows AMI.- Returns:
this
-
build
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty>
- Returns:
- a new instance of
CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-