Interface DaemonDeploymentConfiguration.Builder

  • Method Details

    • drainPercent

      DaemonDeploymentConfiguration.Builder drainPercent(Double drainPercent)

      The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.

      Parameters:
      drainPercent - The percentage of container instances to drain simultaneously during a daemon deployment. Valid values are between 0.0 and 100.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarms

      The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.

      Parameters:
      alarms - The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarms

      The CloudWatch alarm configuration for the daemon deployment. When alarms are triggered during a deployment, the deployment can be automatically rolled back.

      This is a convenience method that creates an instance of the DaemonAlarmConfiguration.Builder avoiding the need to create one manually via DaemonAlarmConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to alarms(DaemonAlarmConfiguration).

      Parameters:
      alarms - a consumer that will call methods on DaemonAlarmConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • bakeTimeInMinutes

      DaemonDeploymentConfiguration.Builder bakeTimeInMinutes(Integer bakeTimeInMinutes)

      The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.

      Parameters:
      bakeTimeInMinutes - The amount of time (in minutes) to wait after a successful deployment step before proceeding. This allows time to monitor for issues before continuing. The default value is 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.