Interface LaunchTemplateSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateSpecification.Builder,,LaunchTemplateSpecification> SdkBuilder<LaunchTemplateSpecification.Builder,,LaunchTemplateSpecification> SdkPojo
- Enclosing class:
LaunchTemplateSpecification
public static interface LaunchTemplateSpecification.Builder
extends SdkPojo, CopyableBuilder<LaunchTemplateSpecification.Builder,LaunchTemplateSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the launch template.The name of the launch template.The version number of the launch template to use.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, sdkFields
-
Method Details
-
name
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
- Parameters:
name- The name of the launch template.You must specify either the launch template name or the launch template ID in the request, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version number of the launch template to use. If no version is specified, then the template's default version is used.
- Parameters:
version- The version number of the launch template to use. If no version is specified, then the template's default version is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
- Parameters:
id- The ID of the launch template.You must specify either the launch template ID or the launch template name in the request, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-