Interface DeploymentLifecycleHookDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentLifecycleHookDetail.Builder,,DeploymentLifecycleHookDetail> SdkBuilder<DeploymentLifecycleHookDetail.Builder,,DeploymentLifecycleHookDetail> SdkPojo
- Enclosing class:
DeploymentLifecycleHookDetail
-
Method Summary
Modifier and TypeMethodDescriptionThe time when the lifecycle hook times out.The ID of the lifecycle hook.The status of the lifecycle hook.status(DeploymentLifecycleHookStatus status) The status of the lifecycle hook.The Amazon Resource Name (ARN) of the hook target.targetType(String targetType) The type of action the lifecycle hook performs, such asAWS_LAMBDAorPAUSE.targetType(DeploymentLifecycleHookTargetType targetType) The type of action the lifecycle hook performs, such asAWS_LAMBDAorPAUSE.timeoutAction(String timeoutAction) The action Amazon ECS takes when the lifecycle hook times out.timeoutAction(DeploymentLifecycleHookAction timeoutAction) The action Amazon ECS takes when the lifecycle hook times out.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
-
hookId
The ID of the lifecycle hook. Use this value when calling
ContinueServiceDeploymentto continue or roll back a paused deployment.- Parameters:
hookId- The ID of the lifecycle hook. Use this value when callingContinueServiceDeploymentto continue or roll back a paused deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetType
The type of action the lifecycle hook performs, such as
AWS_LAMBDAorPAUSE.- Parameters:
targetType- The type of action the lifecycle hook performs, such asAWS_LAMBDAorPAUSE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The type of action the lifecycle hook performs, such as
AWS_LAMBDAorPAUSE.- Parameters:
targetType- The type of action the lifecycle hook performs, such asAWS_LAMBDAorPAUSE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetArn
The Amazon Resource Name (ARN) of the hook target. For
AWS_LAMBDAhooks, this is the Lambda function ARN. ForPAUSEhooks, this field is not set.- Parameters:
targetArn- The Amazon Resource Name (ARN) of the hook target. ForAWS_LAMBDAhooks, this is the Lambda function ARN. ForPAUSEhooks, this field is not set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the lifecycle hook. Valid values depend on the hook type:
-
For
AWS_LAMBDAhooks:IN_PROGRESS,SUCCEEDED,FAILED, andTIMED_OUT. -
For
PAUSEhooks:AWAITING_ACTION,SUCCEEDED,FAILED, andTIMED_OUT.
- Parameters:
status- The status of the lifecycle hook. Valid values depend on the hook type:-
For
AWS_LAMBDAhooks:IN_PROGRESS,SUCCEEDED,FAILED, andTIMED_OUT. -
For
PAUSEhooks:AWAITING_ACTION,SUCCEEDED,FAILED, andTIMED_OUT.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the lifecycle hook. Valid values depend on the hook type:
-
For
AWS_LAMBDAhooks:IN_PROGRESS,SUCCEEDED,FAILED, andTIMED_OUT. -
For
PAUSEhooks:AWAITING_ACTION,SUCCEEDED,FAILED, andTIMED_OUT.
- Parameters:
status- The status of the lifecycle hook. Valid values depend on the hook type:-
For
AWS_LAMBDAhooks:IN_PROGRESS,SUCCEEDED,FAILED, andTIMED_OUT. -
For
PAUSEhooks:AWAITING_ACTION,SUCCEEDED,FAILED, andTIMED_OUT.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
expiresAt
The time when the lifecycle hook times out. If the hook has not been completed by this time, Amazon ECS takes the timeout action.
- Parameters:
expiresAt- The time when the lifecycle hook times out. If the hook has not been completed by this time, Amazon ECS takes the timeout action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutAction
The action Amazon ECS takes when the lifecycle hook times out. Valid values are
CONTINUEandROLLBACK.- Parameters:
timeoutAction- The action Amazon ECS takes when the lifecycle hook times out. Valid values areCONTINUEandROLLBACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutAction
The action Amazon ECS takes when the lifecycle hook times out. Valid values are
CONTINUEandROLLBACK.- Parameters:
timeoutAction- The action Amazon ECS takes when the lifecycle hook times out. Valid values areCONTINUEandROLLBACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-