@Stability(value=Stable) public static final class CfnJobDefinition.RetryStrategyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnJobDefinition.RetryStrategyProperty>
CfnJobDefinition.RetryStrategyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobDefinition.RetryStrategyProperty.Builder |
attempts(Number attempts)
Sets the value of
CfnJobDefinition.RetryStrategyProperty.getAttempts() |
CfnJobDefinition.RetryStrategyProperty |
build()
Builds the configured instance.
|
CfnJobDefinition.RetryStrategyProperty.Builder |
evaluateOnExit(IResolvable evaluateOnExit)
Sets the value of
CfnJobDefinition.RetryStrategyProperty.getEvaluateOnExit() |
CfnJobDefinition.RetryStrategyProperty.Builder |
evaluateOnExit(List<? extends Object> evaluateOnExit)
Sets the value of
CfnJobDefinition.RetryStrategyProperty.getEvaluateOnExit() |
@Stability(value=Stable) public CfnJobDefinition.RetryStrategyProperty.Builder attempts(Number attempts)
CfnJobDefinition.RetryStrategyProperty.getAttempts()attempts - The number of times to move a job to the `RUNNABLE` status.
You can specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.this@Stability(value=Stable) public CfnJobDefinition.RetryStrategyProperty.Builder evaluateOnExit(IResolvable evaluateOnExit)
CfnJobDefinition.RetryStrategyProperty.getEvaluateOnExit()evaluateOnExit - Array of up to 5 objects that specify conditions under which the job should be retried or failed.
If this parameter is specified, then the attempts parameter must also be specified.this@Stability(value=Stable) public CfnJobDefinition.RetryStrategyProperty.Builder evaluateOnExit(List<? extends Object> evaluateOnExit)
CfnJobDefinition.RetryStrategyProperty.getEvaluateOnExit()evaluateOnExit - Array of up to 5 objects that specify conditions under which the job should be retried or failed.
If this parameter is specified, then the attempts parameter must also be specified.this@Stability(value=Stable) public CfnJobDefinition.RetryStrategyProperty build()
build in interface software.amazon.jsii.Builder<CfnJobDefinition.RetryStrategyProperty>CfnJobDefinition.RetryStrategyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.