public static interface CfnJobDefinition.EvaluateOnExitProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; EvaluateOnExitProperty evaluateOnExitProperty = EvaluateOnExitProperty.builder() .action("action") // the properties below are optional .onExitCode("onExitCode") .onReason("onReason") .onStatusReason("onStatusReason") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnJobDefinition.EvaluateOnExitProperty.Builder
A builder for
CfnJobDefinition.EvaluateOnExitProperty |
static class |
CfnJobDefinition.EvaluateOnExitProperty.Jsii$Proxy
An implementation for
CfnJobDefinition.EvaluateOnExitProperty |
Modifier and Type | Method and Description |
---|---|
static CfnJobDefinition.EvaluateOnExitProperty.Builder |
builder() |
java.lang.String |
getAction()
Specifies the action to take if all of the specified conditions ( `onStatusReason` , `onReason` , and `onExitCode` ) are met.
|
default java.lang.String |
getOnExitCode()
Contains a glob pattern to match against the decimal representation of the `ExitCode` returned for a job.
|
default java.lang.String |
getOnReason()
Contains a glob pattern to match against the `Reason` returned for a job.
|
default java.lang.String |
getOnStatusReason()
Contains a glob pattern to match against the `StatusReason` returned for a job.
|
java.lang.String getAction()
The values aren't case sensitive.
default java.lang.String getOnExitCode()
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.
default java.lang.String getOnReason()
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.
default java.lang.String getOnStatusReason()
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.
static CfnJobDefinition.EvaluateOnExitProperty.Builder builder()