Class RolloutStrategyProps.Builder

java.lang.Object
software.amazon.awscdk.services.appconfig.RolloutStrategyProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<RolloutStrategyProps>
Enclosing interface:
RolloutStrategyProps

@Stability(Stable) public static final class RolloutStrategyProps.Builder extends Object implements software.amazon.jsii.Builder<RolloutStrategyProps>
A builder for RolloutStrategyProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • deploymentDuration

      @Stability(Stable) public RolloutStrategyProps.Builder deploymentDuration(Duration deploymentDuration)
      Parameters:
      deploymentDuration - The deployment duration of the deployment strategy. This parameter is required. This defines the total amount of time for a deployment to last.
      Returns:
      this
    • growthFactor

      @Stability(Stable) public RolloutStrategyProps.Builder growthFactor(Number growthFactor)
      Parameters:
      growthFactor - The growth factor of the deployment strategy. This parameter is required. This defines the percentage of targets to receive a deployed configuration during each interval.
      Returns:
      this
    • finalBakeTime

      @Stability(Stable) public RolloutStrategyProps.Builder finalBakeTime(Duration finalBakeTime)
      Parameters:
      finalBakeTime - The final bake time of the deployment strategy. This setting specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment.
      Returns:
      this
    • build

      @Stability(Stable) public RolloutStrategyProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<RolloutStrategyProps>
      Returns:
      a new instance of RolloutStrategyProps
      Throws:
      NullPointerException - if any required attribute was not provided