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 properties that you specify override the same properties in the launch template.
|
LaunchTemplate.Builder |
overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
Any properties that you specify override the same properties in the launch template.
|
LaunchTemplate.Builder |
overrides(LaunchTemplateOverrides... overrides)
Any properties that you specify override the same properties in the launch template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLaunchTemplate.Builder launchTemplateSpecification(LaunchTemplateSpecification launchTemplateSpecification)
The launch template to use.
launchTemplateSpecification - The launch template to use.default LaunchTemplate.Builder launchTemplateSpecification(Consumer<LaunchTemplateSpecification.Builder> launchTemplateSpecification)
The launch template to use.
This is a convenience method 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)
Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch template when it launches an instance.
The overrides can include either one or more instance types or a set of instance requirements, but not both.
overrides - Any properties that you specify override the same properties in the launch template. If not provided,
Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch
template when it launches an instance.
The overrides can include either one or more instance types or a set of instance requirements, but not both.
LaunchTemplate.Builder overrides(LaunchTemplateOverrides... overrides)
Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch template when it launches an instance.
The overrides can include either one or more instance types or a set of instance requirements, but not both.
overrides - Any properties that you specify override the same properties in the launch template. If not provided,
Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch
template when it launches an instance.
The overrides can include either one or more instance types or a set of instance requirements, but not both.
LaunchTemplate.Builder overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch template when it launches an instance.
The overrides can include either one or more instance types or a set of instance requirements, but not both.
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 © 2022. All rights reserved.