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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaunchTemplateSpecification.Builderid(String id)The ID of the launch template.LaunchTemplateSpecification.Buildername(String name)The name of the launch template.LaunchTemplateSpecification.Builderversion(String version)The version number of the launch template to use.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
LaunchTemplateSpecification.Builder name(String 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
LaunchTemplateSpecification.Builder version(String 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
LaunchTemplateSpecification.Builder id(String 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.
-
-