@Stability(value=Stable) public static final class CfnJobDefinition.EvaluateOnExitProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnJobDefinition.EvaluateOnExitProperty>
CfnJobDefinition.EvaluateOnExitProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobDefinition.EvaluateOnExitProperty.Builder |
action(String action)
Sets the value of
CfnJobDefinition.EvaluateOnExitProperty.getAction() |
CfnJobDefinition.EvaluateOnExitProperty |
build()
Builds the configured instance.
|
CfnJobDefinition.EvaluateOnExitProperty.Builder |
onExitCode(String onExitCode)
Sets the value of
CfnJobDefinition.EvaluateOnExitProperty.getOnExitCode() |
CfnJobDefinition.EvaluateOnExitProperty.Builder |
onReason(String onReason)
Sets the value of
CfnJobDefinition.EvaluateOnExitProperty.getOnReason() |
CfnJobDefinition.EvaluateOnExitProperty.Builder |
onStatusReason(String onStatusReason)
Sets the value of
CfnJobDefinition.EvaluateOnExitProperty.getOnStatusReason() |
@Stability(value=Stable) public CfnJobDefinition.EvaluateOnExitProperty.Builder action(String action)
CfnJobDefinition.EvaluateOnExitProperty.getAction()action - Specifies the action to take if all of the specified conditions ( `onStatusReason` , `onReason` , and `onExitCode` ) are met. This parameter is required.
The values aren't case sensitive.this@Stability(value=Stable) public CfnJobDefinition.EvaluateOnExitProperty.Builder onExitCode(String onExitCode)
CfnJobDefinition.EvaluateOnExitProperty.getOnExitCode()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.
this@Stability(value=Stable) public CfnJobDefinition.EvaluateOnExitProperty.Builder onReason(String onReason)
CfnJobDefinition.EvaluateOnExitProperty.getOnReason()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.
this@Stability(value=Stable) public CfnJobDefinition.EvaluateOnExitProperty.Builder onStatusReason(String onStatusReason)
CfnJobDefinition.EvaluateOnExitProperty.getOnStatusReason()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.
this@Stability(value=Stable) public CfnJobDefinition.EvaluateOnExitProperty build()
build in interface software.amazon.jsii.Builder<CfnJobDefinition.EvaluateOnExitProperty>CfnJobDefinition.EvaluateOnExitPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.