Interface ServiceJobEvaluateOnExit.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceJobEvaluateOnExit.Builder,
,ServiceJobEvaluateOnExit> SdkBuilder<ServiceJobEvaluateOnExit.Builder,
,ServiceJobEvaluateOnExit> SdkPojo
- Enclosing class:
ServiceJobEvaluateOnExit
@Mutable
@NotThreadSafe
public static interface ServiceJobEvaluateOnExit.Builder
extends SdkPojo, CopyableBuilder<ServiceJobEvaluateOnExit.Builder,ServiceJobEvaluateOnExit>
-
Method Summary
Modifier and TypeMethodDescriptionThe action to take if the service job exits with the specified condition.action
(ServiceJobRetryAction action) The action to take if the service job exits with the specified condition.onStatusReason
(String onStatusReason) Contains a glob pattern to match against the StatusReason returned for a job.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
-
action
The action to take if the service job exits with the specified condition. Valid values are
RETRY
andEXIT
.- Parameters:
action
- The action to take if the service job exits with the specified condition. Valid values areRETRY
andEXIT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to take if the service job exits with the specified condition. Valid values are
RETRY
andEXIT
.- Parameters:
action
- The action to take if the service job exits with the specified condition. Valid values areRETRY
andEXIT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onStatusReason
Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
- Parameters:
onStatusReason
- Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-