Interface DeploymentCircuitBreaker.Builder

    • Method Detail

      • enable

        DeploymentCircuitBreaker.Builder enable​(Boolean enable)

        Determines whether to use the deployment circuit breaker logic for the service.

        Parameters:
        enable - Determines whether to use the deployment circuit breaker logic for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rollback

        DeploymentCircuitBreaker.Builder rollback​(Boolean rollback)

        Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is on, 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 on, 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.