Interface LaunchTemplateConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateConfig.Builder,LaunchTemplateConfig>,SdkBuilder<LaunchTemplateConfig.Builder,LaunchTemplateConfig>,SdkPojo
- Enclosing class:
- LaunchTemplateConfig
public static interface LaunchTemplateConfig.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateConfig.Builder,LaunchTemplateConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LaunchTemplateConfig.BuilderlaunchTemplateSpecification(Consumer<FleetLaunchTemplateSpecification.Builder> launchTemplateSpecification)The launch template to use.LaunchTemplateConfig.BuilderlaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)The launch template to use.LaunchTemplateConfig.Builderoverrides(Collection<LaunchTemplateOverrides> overrides)Any parameters that you specify override the same parameters in the launch template.LaunchTemplateConfig.Builderoverrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)Any parameters that you specify override the same parameters in the launch template.LaunchTemplateConfig.Builderoverrides(LaunchTemplateOverrides... overrides)Any parameters that you specify override the same parameters in the launch template.-
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
-
launchTemplateSpecification
LaunchTemplateConfig.Builder launchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceIdparameter because you can't specify a network interface ID in a Spot Fleet.- Parameters:
launchTemplateSpecification- The launch template to use. Make sure that the launch template does not contain theNetworkInterfaceIdparameter because you can't specify a network interface ID in a Spot Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateSpecification
default LaunchTemplateConfig.Builder launchTemplateSpecification(Consumer<FleetLaunchTemplateSpecification.Builder> launchTemplateSpecification)
The launch template to use. Make sure that the launch template does not contain the
This is a convenience method that creates an instance of theNetworkInterfaceIdparameter because you can't specify a network interface ID in a Spot Fleet.FleetLaunchTemplateSpecification.Builderavoiding the need to create one manually viaFleetLaunchTemplateSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplateSpecification(FleetLaunchTemplateSpecification).- Parameters:
launchTemplateSpecification- a consumer that will call methods onFleetLaunchTemplateSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
launchTemplateSpecification(FleetLaunchTemplateSpecification)
-
overrides
LaunchTemplateConfig.Builder overrides(Collection<LaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
- Parameters:
overrides- Any parameters that you specify override the same parameters in the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
LaunchTemplateConfig.Builder overrides(LaunchTemplateOverrides... overrides)
Any parameters that you specify override the same parameters in the launch template.
- Parameters:
overrides- Any parameters that you specify override the same parameters in the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
LaunchTemplateConfig.Builder overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
Any parameters that you specify override the same parameters in the launch template.
This is a convenience method that creates an instance of theLaunchTemplateOverrides.Builderavoiding the need to create one manually viaLaunchTemplateOverrides.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#overrides(List.) - Parameters:
overrides- a consumer that will call methods onLaunchTemplateOverrides.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#overrides(java.util.Collection)
-
-