Interface DeploymentCircuitBreaker.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentCircuitBreaker.Builder,,DeploymentCircuitBreaker> SdkBuilder<DeploymentCircuitBreaker.Builder,,DeploymentCircuitBreaker> SdkPojo
- Enclosing class:
DeploymentCircuitBreaker
@Mutable
@NotThreadSafe
public static interface DeploymentCircuitBreaker.Builder
extends SdkPojo, CopyableBuilder<DeploymentCircuitBreaker.Builder,DeploymentCircuitBreaker>
-
Method Summary
Modifier and TypeMethodDescriptionDetermines whether to use the deployment circuit breaker logic for the service.Determines whether to configure Amazon ECS to roll back the service if a service deployment fails.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.
-