public static interface LaunchTemplateConfig.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateConfig.Builder,LaunchTemplateConfig>
| Modifier and Type | Method and Description |
|---|---|
default LaunchTemplateConfig.Builder |
launchTemplateSpecification(Consumer<FleetLaunchTemplateSpecification.Builder> launchTemplateSpecification)
The launch template to use.
|
LaunchTemplateConfig.Builder |
launchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use.
|
LaunchTemplateConfig.Builder |
overrides(Collection<LaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
|
LaunchTemplateConfig.Builder |
overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
Any parameters that you specify override the same parameters in the launch template.
|
LaunchTemplateConfig.Builder |
overrides(LaunchTemplateOverrides... overrides)
Any parameters that you specify override the same parameters in the launch template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLaunchTemplateConfig.Builder launchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId parameter because you can't specify a network interface ID in a Spot Fleet.
launchTemplateSpecification - The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId parameter because you can't specify a network interface ID in a Spot
Fleet.default LaunchTemplateConfig.Builder launchTemplateSpecification(Consumer<FleetLaunchTemplateSpecification.Builder> launchTemplateSpecification)
The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId parameter because you can't specify a network interface ID in a Spot Fleet.
FleetLaunchTemplateSpecification.Builder
avoiding the need to create one manually via FleetLaunchTemplateSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
launchTemplateSpecification(FleetLaunchTemplateSpecification).
launchTemplateSpecification - a consumer that will call methods on FleetLaunchTemplateSpecification.BuilderlaunchTemplateSpecification(FleetLaunchTemplateSpecification)LaunchTemplateConfig.Builder overrides(Collection<LaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
overrides - Any parameters that you specify override the same parameters in the launch template.LaunchTemplateConfig.Builder overrides(LaunchTemplateOverrides... overrides)
Any parameters that you specify override the same parameters in the launch template.
overrides - Any parameters that you specify override the same parameters in the launch template.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.Builder avoiding the need to create
one manually via LaunchTemplateOverrides.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #overrides(List.
overrides - a consumer that will call methods on
LaunchTemplateOverrides.Builder#overrides(java.util.Collection) Copyright © 2023. All rights reserved.