public PipeTargetStateMachineParameters withInvocationType(PipeTargetInvocationType invocationType) {
        this.invocationType = invocationType.toString();
        return this;
    }
<p>
Specify whether to invoke the Step Functions state machine synchronously or asynchronously.
</p>
<ul>
<li>
<p>
<code>REQUEST_RESPONSE</code> (default) - Invoke synchronously. For more information, see <a
href="https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartSyncExecution.html"
>StartSyncExecution</a> in the <i>Step Functions API Reference</i>.
</p>
<note>
<p>
<code>REQUEST_RESPONSE</code> is not supported for <code>STANDARD</code> state machine workflows.
</p>
</note></li>
<li>
<p>
<code>FIRE_AND_FORGET</code> - Invoke asynchronously. For more information, see <a
href="https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html">StartExecution</a>
in the <i>Step Functions API Reference</i>.
</p>
</li>
</ul>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html#pipes-invocation">Invocation
types</a> in the <i>Amazon EventBridge User Guide</i>.
</p>

@param invocationType
       Specify whether to invoke the Step Functions state machine synchronously or asynchronously.</p>
       <ul>
       <li>
       <p>
       <code>REQUEST_RESPONSE</code> (default) - Invoke synchronously. For more information, see <a
       href="https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartSyncExecution.html"
       >StartSyncExecution</a> in the <i>Step Functions API Reference</i>.
       </p>
       <note>
       <p>
       <code>REQUEST_RESPONSE</code> is not supported for <code>STANDARD</code> state machine workflows.
       </p>
       </note></li>
       <li>
       <p>
       <code>FIRE_AND_FORGET</code> - Invoke asynchronously. For more information, see <a
       href="https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html"
       >StartExecution</a> in the <i>Step Functions API Reference</i>.
       </p>
       </li>
       </ul>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html#pipes-invocation">Invocation
       types</a> in the <i>Amazon EventBridge User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
@see PipeTargetInvocationType
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/PipeTargetStateMachineParameters.java