Interface LaunchTemplateSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateSpecification.Builder,,LaunchTemplateSpecification> SdkBuilder<LaunchTemplateSpecification.Builder,,LaunchTemplateSpecification> SdkPojo
- Enclosing class:
LaunchTemplateSpecification
-
Method Summary
Modifier and TypeMethodDescriptionlaunchTemplateId(String launchTemplateId) The ID of the launch template.launchTemplateName(String launchTemplateName) The name of the launch template.The launch template version number,$Latest, or$Default.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
launchTemplateId
The ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
- Parameters:
launchTemplateId- The ID of the launch template.You must specify either the launch template ID or the launch template name, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateName
The name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
- Parameters:
launchTemplateName- The name of the launch template.You must specify either the launch template ID or the launch template name, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The launch template version number,
$Latest, or$Default.A value of
$Latestuses the latest version of the launch template.A value of
$Defaultuses the default version of the launch template.Default: The default version of the launch template.
- Parameters:
version- The launch template version number,$Latest, or$Default.A value of
$Latestuses the latest version of the launch template.A value of
$Defaultuses the default version of the launch template.Default: The default version of the launch template.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-