Class ServerDeploymentConfig.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServerDeploymentConfig>
- Enclosing class:
- ServerDeploymentConfig
@Stability(Stable)
public static final class ServerDeploymentConfig.Builder
extends Object
implements software.amazon.jsii.Builder<ServerDeploymentConfig>
A fluent builder for
ServerDeploymentConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
deploymentConfigName
(String deploymentConfigName) The physical, human-readable name of the Deployment Configuration.minimumHealthyHosts
(MinimumHealthyHosts minimumHealthyHosts) Minimum number of healthy hosts.
-
Method Details
-
create
@Stability(Stable) public static ServerDeploymentConfig.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
ServerDeploymentConfig.Builder
.
-
minimumHealthyHosts
@Stability(Stable) public ServerDeploymentConfig.Builder minimumHealthyHosts(MinimumHealthyHosts minimumHealthyHosts) Minimum number of healthy hosts.- Parameters:
minimumHealthyHosts
- Minimum number of healthy hosts. This parameter is required.- Returns:
this
-
deploymentConfigName
@Stability(Stable) public ServerDeploymentConfig.Builder deploymentConfigName(String deploymentConfigName) The physical, human-readable name of the Deployment Configuration.Default: a name will be auto-generated
- Parameters:
deploymentConfigName
- The physical, human-readable name of the Deployment Configuration. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ServerDeploymentConfig>
- Returns:
- a newly built instance of
ServerDeploymentConfig
.
-