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 launch template version number,
$Latest, or $Default. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLaunchTemplateSpecification.Builder launchTemplateId(String launchTemplateId)
The ID of the launch template.
You must specify the LaunchTemplateId or the LaunchTemplateName, but not both.
launchTemplateId - The ID of the launch template.
You must specify the LaunchTemplateId or the LaunchTemplateName, but not
both.
LaunchTemplateSpecification.Builder launchTemplateName(String launchTemplateName)
The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
launchTemplateName - The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateId, but not
both.
LaunchTemplateSpecification.Builder version(String version)
The launch template version number, $Latest, or $Default.
If the value is $Latest, Amazon EC2 uses the latest version of the launch template.
If the value is $Default, Amazon EC2 uses the default version of the launch template.
Default: The default version of the launch template.
version - The launch template version number, $Latest, or $Default.
If the value is $Latest, Amazon EC2 uses the latest version of the launch template.
If the value is $Default, Amazon EC2 uses the default version of the launch template.
Default: The default version of the launch template.
Copyright © 2023. All rights reserved.