public static interface DesiredConfiguration.Builder extends SdkPojo, CopyableBuilder<DesiredConfiguration.Builder,DesiredConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default DesiredConfiguration.Builder |
launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate)
Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to
launch Amazon EC2 instances.
|
DesiredConfiguration.Builder |
launchTemplate(LaunchTemplateSpecification launchTemplate)
Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to
launch Amazon EC2 instances.
|
default DesiredConfiguration.Builder |
mixedInstancesPolicy(Consumer<MixedInstancesPolicy.Builder> mixedInstancesPolicy)
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a
single Auto Scaling group.
|
DesiredConfiguration.Builder |
mixedInstancesPolicy(MixedInstancesPolicy mixedInstancesPolicy)
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a
single Auto Scaling group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDesiredConfiguration.Builder launchTemplate(LaunchTemplateSpecification launchTemplate)
Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.
launchTemplate - Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses
to launch Amazon EC2 instances. For more information about launch templates, see Launch templates
in the Amazon EC2 Auto Scaling User Guide.default DesiredConfiguration.Builder launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate)
Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.
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 launchTemplate(LaunchTemplateSpecification).
launchTemplate - a consumer that will call methods on LaunchTemplateSpecification.BuilderlaunchTemplate(LaunchTemplateSpecification)DesiredConfiguration.Builder mixedInstancesPolicy(MixedInstancesPolicy mixedInstancesPolicy)
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.
A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
mixedInstancesPolicy - Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within
a single Auto Scaling group.
A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
default DesiredConfiguration.Builder mixedInstancesPolicy(Consumer<MixedInstancesPolicy.Builder> mixedInstancesPolicy)
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.
A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
This is a convenience method that creates an instance of theMixedInstancesPolicy.Builder avoiding
the need to create one manually via MixedInstancesPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to mixedInstancesPolicy(MixedInstancesPolicy).
mixedInstancesPolicy - a consumer that will call methods on MixedInstancesPolicy.BuildermixedInstancesPolicy(MixedInstancesPolicy)Copyright © 2023. All rights reserved.