@Stability(value=Stable) public static final class CfnInstance.LaunchTemplateSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstance.LaunchTemplateSpecificationProperty>
CfnInstance.LaunchTemplateSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstance.LaunchTemplateSpecificationProperty |
build()
Builds the configured instance.
|
CfnInstance.LaunchTemplateSpecificationProperty.Builder |
launchTemplateId(String launchTemplateId)
Sets the value of
CfnInstance.LaunchTemplateSpecificationProperty.getLaunchTemplateId() |
CfnInstance.LaunchTemplateSpecificationProperty.Builder |
launchTemplateName(String launchTemplateName)
Sets the value of
CfnInstance.LaunchTemplateSpecificationProperty.getLaunchTemplateName() |
CfnInstance.LaunchTemplateSpecificationProperty.Builder |
version(String version)
Sets the value of
CfnInstance.LaunchTemplateSpecificationProperty.getVersion() |
@Stability(value=Stable) public CfnInstance.LaunchTemplateSpecificationProperty.Builder version(String version)
CfnInstance.LaunchTemplateSpecificationProperty.getVersion()version - The version number of the launch template. This parameter is required.
AWS CloudFormation does not support specifying $Latest , or $Default for the template version number.this@Stability(value=Stable) public CfnInstance.LaunchTemplateSpecificationProperty.Builder launchTemplateId(String launchTemplateId)
CfnInstance.LaunchTemplateSpecificationProperty.getLaunchTemplateId()launchTemplateId - The ID of the launch template.this@Stability(value=Stable) public CfnInstance.LaunchTemplateSpecificationProperty.Builder launchTemplateName(String launchTemplateName)
CfnInstance.LaunchTemplateSpecificationProperty.getLaunchTemplateName()launchTemplateName - The name of the launch template.this@Stability(value=Stable) public CfnInstance.LaunchTemplateSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnInstance.LaunchTemplateSpecificationProperty>CfnInstance.LaunchTemplateSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.