public final class StateMachine extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StateMachine.Builder
Builder for a
StateMachine . |
Modifier and Type | Method and Description |
---|---|
static StateMachine.Builder |
builder() |
static StateMachine.Builder |
fromJson(String json)
Deserializes a JSON representation of a state machine into a
StateMachine.Builder . |
String |
getComment() |
String |
getStartAt() |
Map<String,State> |
getStates() |
Integer |
getTimeoutSeconds() |
String |
toJson() |
String |
toPrettyJson() |
public String getComment()
public String getStartAt()
public Integer getTimeoutSeconds()
ErrorCodes.TIMEOUT
errorpublic String toJson()
AWSStepFunctions
).public String toPrettyJson()
AWSStepFunctions
).public static StateMachine.Builder fromJson(String json)
StateMachine.Builder
.json
- JSON representing State machine.StateMachine.Builder
deserialized from JSON representation.public static StateMachine.Builder builder()
StateMachine
.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.