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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceJobEvaluateOnExit.Builderaction(String action)The action to take if the service job exits with the specified condition.ServiceJobEvaluateOnExit.Builderaction(ServiceJobRetryAction action)The action to take if the service job exits with the specified condition.ServiceJobEvaluateOnExit.BuilderonStatusReason(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 Detail
-
action
ServiceJobEvaluateOnExit.Builder action(String action)
The action to take if the service job exits with the specified condition. Valid values are
RETRYandEXIT.- Parameters:
action- The action to take if the service job exits with the specified condition. Valid values areRETRYandEXIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceJobRetryAction,ServiceJobRetryAction
-
action
ServiceJobEvaluateOnExit.Builder action(ServiceJobRetryAction action)
The action to take if the service job exits with the specified condition. Valid values are
RETRYandEXIT.- Parameters:
action- The action to take if the service job exits with the specified condition. Valid values areRETRYandEXIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceJobRetryAction,ServiceJobRetryAction
-
onStatusReason
ServiceJobEvaluateOnExit.Builder onStatusReason(String 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.
-
-