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