@Stability(value=Stable) public static final class CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAutoScalingGroup.MixedInstancesPolicyProperty>
CfnAutoScalingGroup.MixedInstancesPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAutoScalingGroup.MixedInstancesPolicyProperty |
build()
Builds the configured instance.
|
CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder |
instancesDistribution(CfnAutoScalingGroup.InstancesDistributionProperty instancesDistribution)
|
CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder |
instancesDistribution(IResolvable instancesDistribution)
|
CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder |
launchTemplate(CfnAutoScalingGroup.LaunchTemplateProperty launchTemplate)
Sets the value of
CfnAutoScalingGroup.MixedInstancesPolicyProperty.getLaunchTemplate() |
CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder |
launchTemplate(IResolvable launchTemplate)
Sets the value of
CfnAutoScalingGroup.MixedInstancesPolicyProperty.getLaunchTemplate() |
@Stability(value=Stable) public CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder launchTemplate(CfnAutoScalingGroup.LaunchTemplateProperty launchTemplate)
CfnAutoScalingGroup.MixedInstancesPolicyProperty.getLaunchTemplate()launchTemplate - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. This parameter is required.this@Stability(value=Stable) public CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder launchTemplate(IResolvable launchTemplate)
CfnAutoScalingGroup.MixedInstancesPolicyProperty.getLaunchTemplate()launchTemplate - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. This parameter is required.this@Stability(value=Stable) public CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder instancesDistribution(CfnAutoScalingGroup.InstancesDistributionProperty instancesDistribution)
instancesDistribution - The instances distribution.this@Stability(value=Stable) public CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder instancesDistribution(IResolvable instancesDistribution)
instancesDistribution - The instances distribution.this@Stability(value=Stable) public CfnAutoScalingGroup.MixedInstancesPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnAutoScalingGroup.MixedInstancesPolicyProperty>CfnAutoScalingGroup.MixedInstancesPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.