Interface DeploymentAlarms.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DeploymentAlarms.Builder,DeploymentAlarms>, SdkBuilder<DeploymentAlarms.Builder,DeploymentAlarms>, SdkPojo
Enclosing class:
DeploymentAlarms

public static interface DeploymentAlarms.Builder extends SdkPojo, CopyableBuilder<DeploymentAlarms.Builder,DeploymentAlarms>
  • Method Details

    • alarmNames

      DeploymentAlarms.Builder alarmNames(Collection<String> alarmNames)

      One or more CloudWatch alarm names. Use a "," to separate the alarms.

      Parameters:
      alarmNames - One or more CloudWatch alarm names. Use a "," to separate the alarms.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarmNames

      DeploymentAlarms.Builder alarmNames(String... alarmNames)

      One or more CloudWatch alarm names. Use a "," to separate the alarms.

      Parameters:
      alarmNames - One or more CloudWatch alarm names. Use a "," to separate the alarms.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enable

      Determines whether to use the CloudWatch alarm option in the service deployment process.

      Parameters:
      enable - Determines whether to use the CloudWatch alarm option in the service deployment process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rollback

      DeploymentAlarms.Builder rollback(Boolean rollback)

      Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is used, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

      Parameters:
      rollback - Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is used, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.