public ActionGroupExecutor withCustomControl(CustomControlMethod customControl) {
        this.customControl = customControl.toString();
        return this;
    }
<p>
To return the action group invocation results directly in the <code>InvokeAgent</code> response, specify
<code>RETURN_CONTROL</code>.
</p>

@param customControl
       To return the action group invocation results directly in the <code>InvokeAgent</code> response, specify
       <code>RETURN_CONTROL</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see CustomControlMethod
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/ActionGroupExecutor.java