Interface EvaluateOnExit.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluateOnExit.Builder,EvaluateOnExit>,SdkBuilder<EvaluateOnExit.Builder,EvaluateOnExit>,SdkPojo
- Enclosing class:
- EvaluateOnExit
public static interface EvaluateOnExit.Builder extends SdkPojo, CopyableBuilder<EvaluateOnExit.Builder,EvaluateOnExit>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EvaluateOnExit.Builderaction(String action)Specifies the action to take if all of the specified conditions (onStatusReason,onReason, andonExitCode) are met.EvaluateOnExit.Builderaction(RetryAction action)Specifies the action to take if all of the specified conditions (onStatusReason,onReason, andonExitCode) are met.EvaluateOnExit.BuilderonExitCode(String onExitCode)Contains a glob pattern to match against the decimal representation of theExitCodereturned for a job.EvaluateOnExit.BuilderonReason(String onReason)Contains a glob pattern to match against theReasonreturned for a job.EvaluateOnExit.BuilderonStatusReason(String onStatusReason)Contains a glob pattern to match against theStatusReasonreturned 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
-
onStatusReason
EvaluateOnExit.Builder onStatusReason(String onStatusReason)
Contains a glob pattern to match against the
StatusReasonreturned 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 theStatusReasonreturned 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
EvaluateOnExit.Builder onReason(String onReason)
Contains a glob pattern to match against the
Reasonreturned 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 theReasonreturned 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
EvaluateOnExit.Builder onExitCode(String onExitCode)
Contains a glob pattern to match against the decimal representation of the
ExitCodereturned 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 theExitCodereturned 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
EvaluateOnExit.Builder action(String 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:
RetryAction,RetryAction
-
action
EvaluateOnExit.Builder action(RetryAction 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:
RetryAction,RetryAction
-
-