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
Constructors -
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-CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.LaunchTemplateId.- Returns:
this
-
launchTemplateName
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.Builder launchTemplateName(String launchTemplateName) Sets the value ofCfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.getLaunchTemplateName()- Parameters:
launchTemplateName-CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.LaunchTemplateName.- Returns:
this
-
launchTemplateVersion
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.Builder launchTemplateVersion(String launchTemplateVersion) Sets the value ofCfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.getLaunchTemplateVersion()- Parameters:
launchTemplateVersion-CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty.LaunchTemplateVersion.- Returns:
this
-
build
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty>- Returns:
- a new instance of
CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-