Class CfnServicePropsMixin.ThresholdConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.ThresholdConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.ThresholdConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.ThresholdConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.ThresholdConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.ThresholdConfigurationProperty>
A builder for
CfnServicePropsMixin.ThresholdConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServicePropsMixin.ThresholdConfigurationProperty.getType()Sets the value ofCfnServicePropsMixin.ThresholdConfigurationProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnServicePropsMixin.ThresholdConfigurationProperty.Builder type(String type) Sets the value ofCfnServicePropsMixin.ThresholdConfigurationProperty.getType()- Parameters:
type- the value to be set.- Returns:
this
-
value
@Stability(Stable) public CfnServicePropsMixin.ThresholdConfigurationProperty.Builder value(Number value) Sets the value ofCfnServicePropsMixin.ThresholdConfigurationProperty.getValue()- Parameters:
value- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.ThresholdConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.ThresholdConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-