public static interface LaunchTemplate.Builder extends SdkPojo, CopyableBuilder<LaunchTemplate.Builder,LaunchTemplate>
| Modifier and Type | Method and Description |
|---|---|
default LaunchTemplate.Builder |
launchTemplateSpecification(Consumer<LaunchTemplateSpecification.Builder> launchTemplateSpecification)
The launch template to use.
|
LaunchTemplate.Builder |
launchTemplateSpecification(LaunchTemplateSpecification launchTemplateSpecification)
The launch template to use.
|
LaunchTemplate.Builder |
overrides(Collection<LaunchTemplateOverrides> overrides)
An optional setting.
|
LaunchTemplate.Builder |
overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
An optional setting.
|
LaunchTemplate.Builder |
overrides(LaunchTemplateOverrides... overrides)
An optional setting.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLaunchTemplate.Builder launchTemplateSpecification(LaunchTemplateSpecification launchTemplateSpecification)
The launch template to use. You must specify either the launch template ID or launch template name in the request.
launchTemplateSpecification - The launch template to use. You must specify either the launch template ID or launch template name in
the request.default LaunchTemplate.Builder launchTemplateSpecification(Consumer<LaunchTemplateSpecification.Builder> launchTemplateSpecification)
The launch template to use. You must specify either the launch template ID or launch template name in the request.
This is a convenience that creates an instance of theLaunchTemplateSpecification.Builder avoiding
the need to create one manually via LaunchTemplateSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to launchTemplateSpecification(LaunchTemplateSpecification).launchTemplateSpecification - a consumer that will call methods on LaunchTemplateSpecification.BuilderlaunchTemplateSpecification(LaunchTemplateSpecification)LaunchTemplate.Builder overrides(Collection<LaunchTemplateOverrides> overrides)
An optional setting. Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type. You can specify between 1 and 20 instance types.
overrides - An optional setting. Any parameters that you specify override the same parameters in the launch
template. Currently, the only supported override is instance type. You can specify between 1 and 20
instance types.LaunchTemplate.Builder overrides(LaunchTemplateOverrides... overrides)
An optional setting. Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type. You can specify between 1 and 20 instance types.
overrides - An optional setting. Any parameters that you specify override the same parameters in the launch
template. Currently, the only supported override is instance type. You can specify between 1 and 20
instance types.LaunchTemplate.Builder overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
An optional setting. Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type. You can specify between 1 and 20 instance types.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #overrides(List) .overrides - a consumer that will call methods on List.Builder #overrides(List) Copyright © 2019. All rights reserved.