Class CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.autoscaling.CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty>
- Enclosing interface:
CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty
@Stability(Stable)
public static final class CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.targetCapacityTypes(List<String> targetCapacityTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetCapacityTypes
@Stability(Stable) public CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty.Builder targetCapacityTypes(List<String> targetCapacityTypes) Sets the value ofCfnAutoScalingGroupPropsMixin.DistributionSegmentProperty.getTargetCapacityTypes()- Parameters:
targetCapacityTypes- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty>- Returns:
- a new instance of
CfnAutoScalingGroupPropsMixin.DistributionSegmentProperty - Throws:
NullPointerException- if any required attribute was not provided
-