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.BuilderlaunchTemplateId(String launchTemplateId)A unique identifier for an existing Amazon EC2 launch template.LaunchTemplateSpecification.BuilderlaunchTemplateName(String launchTemplateName)A readable identifier for an existing Amazon EC2 launch template.LaunchTemplateSpecification.Builderversion(String version)The version of the Amazon EC2 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, sdkFields
-
-
-
-
Method Detail
-
launchTemplateId
LaunchTemplateSpecification.Builder launchTemplateId(String launchTemplateId)
A unique identifier for an existing Amazon EC2 launch template.
- Parameters:
launchTemplateId- A unique identifier for an existing Amazon EC2 launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateName
LaunchTemplateSpecification.Builder launchTemplateName(String launchTemplateName)
A readable identifier for an existing Amazon EC2 launch template.
- Parameters:
launchTemplateName- A readable identifier for an existing Amazon EC2 launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
LaunchTemplateSpecification.Builder version(String version)
The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.
- Parameters:
version- The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-