Interface FleetLaunchTemplateSpecification.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FleetLaunchTemplateSpecification.Builder,FleetLaunchTemplateSpecification>
,SdkBuilder<FleetLaunchTemplateSpecification.Builder,FleetLaunchTemplateSpecification>
,SdkPojo
- Enclosing class:
- FleetLaunchTemplateSpecification
public static interface FleetLaunchTemplateSpecification.Builder extends SdkPojo, CopyableBuilder<FleetLaunchTemplateSpecification.Builder,FleetLaunchTemplateSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FleetLaunchTemplateSpecification.Builder
launchTemplateId(String launchTemplateId)
The ID of the launch template.FleetLaunchTemplateSpecification.Builder
launchTemplateName(String launchTemplateName)
The name of the launch template.FleetLaunchTemplateSpecification.Builder
version(String version)
The launch template version number,$Latest
, or$Default
.-
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
-
launchTemplateId
FleetLaunchTemplateSpecification.Builder launchTemplateId(String launchTemplateId)
The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.- Parameters:
launchTemplateId
- The ID of the launch template.You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateName
FleetLaunchTemplateSpecification.Builder launchTemplateName(String launchTemplateName)
The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.- Parameters:
launchTemplateName
- The name of the launch template.You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
FleetLaunchTemplateSpecification.Builder version(String version)
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.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.- Parameters:
version
- The launch template version number,$Latest
, or$Default
. You must specify a value, otherwise the request fails.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-