Interface EvaluateOnExit.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EvaluateOnExit.Builder,
,EvaluateOnExit> SdkBuilder<EvaluateOnExit.Builder,
,EvaluateOnExit> SdkPojo
- Enclosing class:
EvaluateOnExit
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the action to take if all of the specified conditions (onStatusReason
,onReason
, andonExitCode
) are met.action
(RetryAction action) Specifies the action to take if all of the specified conditions (onStatusReason
,onReason
, andonExitCode
) are met.onExitCode
(String onExitCode) Contains a glob pattern to match against the decimal representation of theExitCode
returned for a job.Contains a glob pattern to match against theReason
returned for a job.onStatusReason
(String onStatusReason) Contains a glob pattern to match against theStatusReason
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, sdkFields
-
Method Details
-
onStatusReason
Contains a glob pattern to match against the
StatusReason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). 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 theStatusReason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). 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.
-
onReason
Contains a glob pattern to match against the
Reason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.- Parameters:
onReason
- Contains a glob pattern to match against theReason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). 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.
-
onExitCode
Contains a glob pattern to match against the decimal representation of the
ExitCode
returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.The string can contain up to 512 characters.
- Parameters:
onExitCode
- Contains a glob pattern to match against the decimal representation of theExitCode
returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.The string can contain up to 512 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Specifies the action to take if all of the specified conditions (
onStatusReason
,onReason
, andonExitCode
) are met. The values aren't case sensitive.- Parameters:
action
- Specifies the action to take if all of the specified conditions (onStatusReason
,onReason
, andonExitCode
) are met. The values aren't case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Specifies the action to take if all of the specified conditions (
onStatusReason
,onReason
, andonExitCode
) are met. The values aren't case sensitive.- Parameters:
action
- Specifies the action to take if all of the specified conditions (onStatusReason
,onReason
, andonExitCode
) are met. The values aren't case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-