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)
Any parameters that you specify override the same parameters in the launch template.
|
LaunchTemplate.Builder |
overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
Any parameters that you specify override the same parameters in the launch template.
|
LaunchTemplate.Builder |
overrides(LaunchTemplateOverrides... overrides)
Any parameters that you specify override the same parameters in the launch template.
|
copy
applyMutation, build
LaunchTemplate.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.Builder
launchTemplateSpecification(LaunchTemplateSpecification)
LaunchTemplate.Builder overrides(Collection<LaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type.
You must specify between 2 and 20 overrides.
overrides
- Any parameters that you specify override the same parameters in the launch template. Currently, the
only supported override is instance type.
You must specify between 2 and 20 overrides.
LaunchTemplate.Builder overrides(LaunchTemplateOverrides... overrides)
Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type.
You must specify between 2 and 20 overrides.
overrides
- Any parameters that you specify override the same parameters in the launch template. Currently, the
only supported override is instance type.
You must specify between 2 and 20 overrides.
LaunchTemplate.Builder overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type.
You must specify between 2 and 20 overrides.
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.