Class CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty>
- Enclosing interface:
CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty
@Stability(Stable)
public static final class CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty>
A builder for
CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.getType()Sets the value ofCfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.Builder type(String type) Sets the value ofCfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.getType()- Parameters:
type- Thetypeassociated with theMinimumHealthyHostsPerZoneoption. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.Builder value(Number value) Sets the value ofCfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty.getValue()- Parameters:
value- Thevalueassociated with theMinimumHealthyHostsPerZoneoption. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty>- Returns:
- a new instance of
CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty - Throws:
NullPointerException- if any required attribute was not provided
-