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 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

      @Stability(Stable) public ServerDeploymentConfig build()
      Specified by:
      build in interface software.amazon.jsii.Builder<ServerDeploymentConfig>
      Returns:
      a newly built instance of ServerDeploymentConfig.