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 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 specified in the launch template when it launches an instance.
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 specified in the launch template when it launches an
instance.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 specified in the launch template when it launches an instance.
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 specified in the launch template when it launches an
instance.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 specified in the launch template when it launches an instance.
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 © 2021. All rights reserved.