public T visit(FailState failState) {
        return null;
    }
Visitor interface for {@link State} inheritance hierarchy. Extend and override to provide your own visitor logic.

@param <T> Return type of visit methods (May be {@link Void}).
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/builder/states/StateVisitor.java