Class CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.autoscaling.mixins.CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty>
- Enclosing interface:
CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty
@Stability(Stable)
public static final class CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty>
A builder for
CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.launchTemplateSpecification(IResolvable launchTemplateSpecification) launchTemplateSpecification(CfnAutoScalingGroupPropsMixin.LaunchTemplateSpecificationProperty launchTemplateSpecification) Sets the value ofCfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.getOverrides()overrides(IResolvable overrides) Sets the value ofCfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.getOverrides()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
launchTemplateSpecification
@Stability(Stable) public CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.Builder launchTemplateSpecification(IResolvable launchTemplateSpecification) Sets the value ofCfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.getLaunchTemplateSpecification()- Parameters:
launchTemplateSpecification- The launch template.- Returns:
this
-
launchTemplateSpecification
@Stability(Stable) public CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.Builder launchTemplateSpecification(CfnAutoScalingGroupPropsMixin.LaunchTemplateSpecificationProperty launchTemplateSpecification) Sets the value ofCfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.getLaunchTemplateSpecification()- Parameters:
launchTemplateSpecification- The launch template.- Returns:
this
-
overrides
@Stability(Stable) public CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.Builder overrides(IResolvable overrides) Sets the value ofCfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.getOverrides()- Parameters:
overrides- Any properties that you specify override the same properties in the launch template.- Returns:
this
-
overrides
@Stability(Stable) public CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.Builder overrides(List<? extends Object> overrides) Sets the value ofCfnAutoScalingGroupPropsMixin.LaunchTemplateProperty.getOverrides()- Parameters:
overrides- Any properties that you specify override the same properties in the launch template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty>- Returns:
- a new instance of
CfnAutoScalingGroupPropsMixin.LaunchTemplateProperty - Throws:
NullPointerException- if any required attribute was not provided
-