Interface ServiceDeploymentCircuitBreaker.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceDeploymentCircuitBreaker.Builder,ServiceDeploymentCircuitBreaker>,SdkBuilder<ServiceDeploymentCircuitBreaker.Builder,ServiceDeploymentCircuitBreaker>,SdkPojo
- Enclosing class:
- ServiceDeploymentCircuitBreaker
public static interface ServiceDeploymentCircuitBreaker.Builder extends SdkPojo, CopyableBuilder<ServiceDeploymentCircuitBreaker.Builder,ServiceDeploymentCircuitBreaker>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceDeploymentCircuitBreaker.BuilderfailureCount(Integer failureCount)The number of times the circuit breaker detected a service deploymeny failure.ServiceDeploymentCircuitBreaker.Builderstatus(String status)The circuit breaker status.ServiceDeploymentCircuitBreaker.Builderstatus(ServiceDeploymentRollbackMonitorsStatus status)The circuit breaker status.ServiceDeploymentCircuitBreaker.Builderthreshold(Integer threshold)The threshhold which determines that the service deployment failed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
status
ServiceDeploymentCircuitBreaker.Builder status(String status)
The circuit breaker status. Amazon ECS is not using the circuit breaker for service deployment failures when the status is
DISABLED.- Parameters:
status- The circuit breaker status. Amazon ECS is not using the circuit breaker for service deployment failures when the status isDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceDeploymentRollbackMonitorsStatus,ServiceDeploymentRollbackMonitorsStatus
-
status
ServiceDeploymentCircuitBreaker.Builder status(ServiceDeploymentRollbackMonitorsStatus status)
The circuit breaker status. Amazon ECS is not using the circuit breaker for service deployment failures when the status is
DISABLED.- Parameters:
status- The circuit breaker status. Amazon ECS is not using the circuit breaker for service deployment failures when the status isDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceDeploymentRollbackMonitorsStatus,ServiceDeploymentRollbackMonitorsStatus
-
failureCount
ServiceDeploymentCircuitBreaker.Builder failureCount(Integer failureCount)
The number of times the circuit breaker detected a service deploymeny failure.
- Parameters:
failureCount- The number of times the circuit breaker detected a service deploymeny failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threshold
ServiceDeploymentCircuitBreaker.Builder threshold(Integer threshold)
The threshhold which determines that the service deployment failed.
The deployment circuit breaker calculates the threshold value, and then uses the value to determine when to move the deployment to a FAILED state. The deployment circuit breaker has a minimum threshold of 3 and a maximum threshold of 200. and uses the values in the following formula to determine the deployment failure.
0.5 * desired task count- Parameters:
threshold- The threshhold which determines that the service deployment failed.The deployment circuit breaker calculates the threshold value, and then uses the value to determine when to move the deployment to a FAILED state. The deployment circuit breaker has a minimum threshold of 3 and a maximum threshold of 200. and uses the values in the following formula to determine the deployment failure.
0.5 * desired task count- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-