Interface DeploymentLifecycleHookTimeoutConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentLifecycleHookTimeoutConfiguration.Builder,,DeploymentLifecycleHookTimeoutConfiguration> SdkBuilder<DeploymentLifecycleHookTimeoutConfiguration.Builder,,DeploymentLifecycleHookTimeoutConfiguration> SdkPojo
- Enclosing class:
DeploymentLifecycleHookTimeoutConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe action Amazon ECS takes when the lifecycle hook times out.action(DeploymentLifecycleHookAction action) The action Amazon ECS takes when the lifecycle hook times out.timeoutInMinutes(Integer timeoutInMinutes) The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.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
-
timeoutInMinutes
The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.
- Parameters:
timeoutInMinutes- The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action Amazon ECS takes when the lifecycle hook times out. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
- Parameters:
action- The action Amazon ECS takes when the lifecycle hook times out. Valid values are:-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
action
The action Amazon ECS takes when the lifecycle hook times out. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
- Parameters:
action- The action Amazon ECS takes when the lifecycle hook times out. Valid values are:-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-