@Stability(value=Stable)
public static interface CfnJobDefinition.RetryStrategyProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
RetryStrategyProperty retryStrategyProperty = RetryStrategyProperty.builder()
.attempts(123)
.evaluateOnExit(List.of(EvaluateOnExitProperty.builder()
.action("action")
// the properties below are optional
.onExitCode("onExitCode")
.onReason("onReason")
.onStatusReason("onStatusReason")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJobDefinition.RetryStrategyProperty.Builder
A builder for
CfnJobDefinition.RetryStrategyProperty |
static class |
CfnJobDefinition.RetryStrategyProperty.Jsii$Proxy
An implementation for
CfnJobDefinition.RetryStrategyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnJobDefinition.RetryStrategyProperty.Builder |
builder() |
default Number |
getAttempts()
`CfnJobDefinition.RetryStrategyProperty.Attempts`.
|
default Object |
getEvaluateOnExit()
`CfnJobDefinition.RetryStrategyProperty.EvaluateOnExit`.
|
@Stability(value=Stable) @Nullable default Number getAttempts()
@Stability(value=Stable) @Nullable default Object getEvaluateOnExit()
@Stability(value=Stable) static CfnJobDefinition.RetryStrategyProperty.Builder builder()
Copyright © 2022. All rights reserved.