public static interface LaunchTemplateSpecification.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateSpecification.Builder,LaunchTemplateSpecification>
Modifier and Type | Method and Description |
---|---|
LaunchTemplateSpecification.Builder |
launchTemplateId(String launchTemplateId)
The ID of the launch template.
|
LaunchTemplateSpecification.Builder |
launchTemplateName(String launchTemplateName)
The name of the launch template.
|
LaunchTemplateSpecification.Builder |
version(String version)
The version number,
$Latest , or $Default . |
equalsBySdkFields, sdkFields
copy
applyMutation, build
LaunchTemplateSpecification.Builder launchTemplateId(String launchTemplateId)
The ID of the launch template. You must specify either a template ID or a template name.
launchTemplateId
- The ID of the launch template. You must specify either a template ID or a template name.LaunchTemplateSpecification.Builder launchTemplateName(String launchTemplateName)
The name of the launch template. You must specify either a template name or a template ID.
launchTemplateName
- The name of the launch template. You must specify either a template name or a template ID.LaunchTemplateSpecification.Builder version(String version)
The version number, $Latest
, or $Default
. If the value is $Latest
,
Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the
value is $Default
, Amazon EC2 Auto Scaling selects the default version of the launch template
when launching instances. The default value is $Default
.
version
- The version number, $Latest
, or $Default
. If the value is
$Latest
, Amazon EC2 Auto Scaling selects the latest version of the launch template when
launching instances. If the value is $Default
, Amazon EC2 Auto Scaling selects the
default version of the launch template when launching instances. The default value is
$Default
.Copyright © 2019. All rights reserved.