Interface DeploymentAlarms.Builder

    • Method Detail

      • 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.
      • 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.
      • enable

        DeploymentAlarms.Builder enable​(Boolean 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.