@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluateOnExit extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a set of conditions to be met, and an action to take (RETRY or EXIT) if all
conditions are met.
| Constructor and Description |
|---|
EvaluateOnExit() |
| Modifier and Type | Method and Description |
|---|---|
EvaluateOnExit |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies the action to take if all of the specified conditions (
onStatusReason,
onReason, and onExitCode) are met. |
String |
getOnExitCode()
Contains a glob pattern to match against the decimal representation of the
ExitCode returned for a
job. |
String |
getOnReason()
Contains a glob pattern to match against the
Reason returned for a job. |
String |
getOnStatusReason()
Contains a glob pattern to match against the
StatusReason returned for a job. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAction(String action)
Specifies the action to take if all of the specified conditions (
onStatusReason,
onReason, and onExitCode) are met. |
void |
setOnExitCode(String onExitCode)
Contains a glob pattern to match against the decimal representation of the
ExitCode returned for a
job. |
void |
setOnReason(String onReason)
Contains a glob pattern to match against the
Reason returned for a job. |
void |
setOnStatusReason(String onStatusReason)
Contains a glob pattern to match against the
StatusReason returned for a job. |
String |
toString()
Returns a string representation of this object.
|
EvaluateOnExit |
withAction(RetryAction action)
Specifies the action to take if all of the specified conditions (
onStatusReason,
onReason, and onExitCode) are met. |
EvaluateOnExit |
withAction(String action)
Specifies the action to take if all of the specified conditions (
onStatusReason,
onReason, and onExitCode) are met. |
EvaluateOnExit |
withOnExitCode(String onExitCode)
Contains a glob pattern to match against the decimal representation of the
ExitCode returned for a
job. |
EvaluateOnExit |
withOnReason(String onReason)
Contains a glob pattern to match against the
Reason returned for a job. |
EvaluateOnExit |
withOnStatusReason(String onStatusReason)
Contains a glob pattern to match against the
StatusReason returned for a job. |
public void setOnStatusReason(String onStatusReason)
Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up
to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (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.
The string can be between 1 and 512 characters in length.
onStatusReason - Contains a glob pattern to match against the StatusReason returned for a job. The pattern can
be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white
space (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.
The string can be between 1 and 512 characters in length.
public String getOnStatusReason()
Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up
to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (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.
The string can be between 1 and 512 characters in length.
StatusReason returned for a job. The pattern
can be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and
white space (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.
The string can be between 1 and 512 characters in length.
public EvaluateOnExit withOnStatusReason(String onStatusReason)
Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up
to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (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.
The string can be between 1 and 512 characters in length.
onStatusReason - Contains a glob pattern to match against the StatusReason returned for a job. The pattern can
be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white
space (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.
The string can be between 1 and 512 characters in length.
public void setOnReason(String onReason)
Contains a glob pattern to match against the Reason returned for a job. The pattern can be up to 512
characters in length. 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.
The string can be between 1 and 512 characters in length.
onReason - Contains a glob pattern to match against the Reason returned for a job. The pattern can be up
to 512 characters in length. 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.
The string can be between 1 and 512 characters in length.
public String getOnReason()
Contains a glob pattern to match against the Reason returned for a job. The pattern can be up to 512
characters in length. 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.
The string can be between 1 and 512 characters in length.
Reason returned for a job. The pattern can be
up to 512 characters in length. 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.
The string can be between 1 and 512 characters in length.
public EvaluateOnExit withOnReason(String onReason)
Contains a glob pattern to match against the Reason returned for a job. The pattern can be up to 512
characters in length. 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.
The string can be between 1 and 512 characters in length.
onReason - Contains a glob pattern to match against the Reason returned for a job. The pattern can be up
to 512 characters in length. 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.
The string can be between 1 and 512 characters in length.
public void setOnExitCode(String 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 in length. It can contain only numbers, and can optionally end with
an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
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 in length. It can contain only numbers, and can
optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
public String getOnExitCode()
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 in length. It can contain only numbers, and can optionally end with
an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
ExitCode returned
for a job. The pattern can be up to 512 characters in length. It can contain only numbers, and can
optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
public EvaluateOnExit withOnExitCode(String 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 in length. It can contain only numbers, and can optionally end with
an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
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 in length. It can contain only numbers, and can
optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
public void setAction(String action)
Specifies the action to take if all of the specified conditions (onStatusReason,
onReason, and onExitCode) are met. The values aren't case sensitive.
action - Specifies the action to take if all of the specified conditions (onStatusReason,
onReason, and onExitCode) are met. The values aren't case sensitive.RetryActionpublic String getAction()
Specifies the action to take if all of the specified conditions (onStatusReason,
onReason, and onExitCode) are met. The values aren't case sensitive.
onStatusReason,
onReason, and onExitCode) are met. The values aren't case sensitive.RetryActionpublic EvaluateOnExit withAction(String action)
Specifies the action to take if all of the specified conditions (onStatusReason,
onReason, and onExitCode) are met. The values aren't case sensitive.
action - Specifies the action to take if all of the specified conditions (onStatusReason,
onReason, and onExitCode) are met. The values aren't case sensitive.RetryActionpublic EvaluateOnExit withAction(RetryAction action)
Specifies the action to take if all of the specified conditions (onStatusReason,
onReason, and onExitCode) are met. The values aren't case sensitive.
action - Specifies the action to take if all of the specified conditions (onStatusReason,
onReason, and onExitCode) are met. The values aren't case sensitive.RetryActionpublic String toString()
toString in class ObjectObject.toString()public EvaluateOnExit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.