Class DeploymentStrategy.Builder

java.lang.Object
software.amazon.awscdk.services.appconfig.alpha.DeploymentStrategy.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<DeploymentStrategy>
Enclosing class:
DeploymentStrategy

@Stability(Deprecated) @Deprecated public static final class DeploymentStrategy.Builder extends Object implements software.amazon.jsii.Builder<DeploymentStrategy>
Deprecated.
(deprecated) A fluent builder for DeploymentStrategy.
  • Method Details

    • create

      @Stability(Deprecated) @Deprecated public static DeploymentStrategy.Builder create(software.constructs.Construct scope, String id)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of DeploymentStrategy.Builder.
    • rolloutStrategy

      @Stability(Deprecated) @Deprecated public DeploymentStrategy.Builder rolloutStrategy(RolloutStrategy rolloutStrategy)
      Deprecated.
      (deprecated) The rollout strategy for the deployment strategy.

      You can use predefined deployment strategies, such as RolloutStrategy.ALL_AT_ONCE, RolloutStrategy.LINEAR_50_PERCENT_EVERY_30_SECONDS, or RolloutStrategy.CANARY_10_PERCENT_20_MINUTES.

      Parameters:
      rolloutStrategy - The rollout strategy for the deployment strategy. This parameter is required.
      Returns:
      this
    • deploymentStrategyName

      @Stability(Deprecated) @Deprecated public DeploymentStrategy.Builder deploymentStrategyName(String deploymentStrategyName)
      Deprecated.
      (deprecated) A name for the deployment strategy.

      Default: - A name is generated.

      Parameters:
      deploymentStrategyName - A name for the deployment strategy. This parameter is required.
      Returns:
      this
    • description

      @Stability(Deprecated) @Deprecated public DeploymentStrategy.Builder description(String description)
      Deprecated.
      (deprecated) A description of the deployment strategy.

      Default: - No description.

      Parameters:
      description - A description of the deployment strategy. This parameter is required.
      Returns:
      this
    • build

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