Interface JobStateTimeLimitAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobStateTimeLimitAction.Builder,
,JobStateTimeLimitAction> SdkBuilder<JobStateTimeLimitAction.Builder,
,JobStateTimeLimitAction> SdkPojo
- Enclosing class:
JobStateTimeLimitAction
-
Method Summary
Modifier and TypeMethodDescriptionThe action to take when a job is at the head of the job queue in the specified state for the specified period of time.action
(JobStateTimeLimitActionsAction action) The action to take when a job is at the head of the job queue in the specified state for the specified period of time.maxTimeSeconds
(Integer maxTimeSeconds) The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken.The reason to log for the action being taken.The state of the job needed to trigger the action.The state of the job needed to trigger the action.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 Details
-
reason
The reason to log for the action being taken.
- Parameters:
reason
- The reason to log for the action being taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the job needed to trigger the action. The only supported value is
RUNNABLE
.- Parameters:
state
- The state of the job needed to trigger the action. The only supported value isRUNNABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the job needed to trigger the action. The only supported value is
RUNNABLE
.- Parameters:
state
- The state of the job needed to trigger the action. The only supported value isRUNNABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxTimeSeconds
The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).
- Parameters:
maxTimeSeconds
- The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is
CANCEL
, which will cancel the job.- Parameters:
action
- The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value isCANCEL
, which will cancel the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is
CANCEL
, which will cancel the job.- Parameters:
action
- The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value isCANCEL
, which will cancel the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-