@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:43.509Z") public class Succeed extends State
Reaching a Succeed state terminates the state execution in success.
Example:
Succeed success = new Succeed(this, "We did it!");
Modifier and Type | Class and Description |
---|---|
static class |
Succeed.Builder
A fluent builder for
Succeed . |
IChainable.Jsii$Default
IConstruct.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
Succeed(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Succeed(software.amazon.jsii.JsiiObjectRef objRef) |
|
Succeed(software.constructs.Construct scope,
java.lang.String id) |
|
Succeed(software.constructs.Construct scope,
java.lang.String id,
SucceedProps props) |
Modifier and Type | Method and Description |
---|---|
java.util.List<INextable> |
getEndStates()
Continuable states of this Chainable.
|
com.fasterxml.jackson.databind.node.ObjectNode |
toStateJson()
Return the Amazon States Language object for this state.
|
addBranch, addChoice, addIterator, addPrefix, bindToGraph, filterNextables, findReachableEndStates, findReachableEndStates, findReachableStates, findReachableStates, getBranches, getComment, getDefaultChoice, getId, getInputPath, getIteration, getOutputPath, getParameters, getResultPath, getResultSelector, getStartState, getStateId, makeDefault, makeNext, prefixStates, renderBranches, renderChoices, renderInputOutput, renderIterator, renderNextEnd, renderResultSelector, renderRetryCatch, setDefaultChoice, setIteration, whenBoundToGraph
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
protected Succeed(software.amazon.jsii.JsiiObjectRef objRef)
protected Succeed(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public Succeed(software.constructs.Construct scope, java.lang.String id, SucceedProps props)
scope
- This parameter is required.id
- This parameter is required.props
- public Succeed(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.public com.fasterxml.jackson.databind.node.ObjectNode toStateJson()
toStateJson
in class State
public java.util.List<INextable> getEndStates()
getEndStates
in interface IChainable
getEndStates
in class State