Interface AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.Builder,
,AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails> SdkBuilder<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.Builder,
,AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails> SdkPojo
-
Method Summary
Modifier and TypeMethodDescriptionlaunchTemplateSpecification
(Consumer<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification.Builder> launchTemplateSpecification) The launch template to use for a mixed instances policy.launchTemplateSpecification
(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification launchTemplateSpecification) The launch template to use for a mixed instances policy.overrides
(Collection<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails> overrides) Property values to use to override the values in the launch template.overrides
(Consumer<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails.Builder>... overrides) Property values to use to override the values in the launch template.overrides
(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails... overrides) Property values to use to override the values in the launch template.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
launchTemplateSpecification
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.Builder launchTemplateSpecification(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification launchTemplateSpecification) The launch template to use for a mixed instances policy.
- Parameters:
launchTemplateSpecification
- The launch template to use for a mixed instances policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateSpecification
default AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.Builder launchTemplateSpecification(Consumer<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification.Builder> launchTemplateSpecification) The launch template to use for a mixed instances policy.
This is a convenience method that creates an instance of theAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification.Builder
avoiding the need to create one manually viaAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunchTemplateSpecification(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification)
.- Parameters:
launchTemplateSpecification
- a consumer that will call methods onAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrides
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.Builder overrides(Collection<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails> overrides) Property values to use to override the values in the launch template.
- Parameters:
overrides
- Property values to use to override the values in the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.Builder overrides(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails... overrides) Property values to use to override the values in the launch template.
- Parameters:
overrides
- Property values to use to override the values in the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails.Builder overrides(Consumer<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails.Builder>... overrides) Property values to use to override the values in the launch template.
This is a convenience method that creates an instance of theAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails.Builder
avoiding the need to create one manually viaAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverrides(List<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails>)
.- Parameters:
overrides
- a consumer that will call methods onAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-