public CreateFlowResult withExecutionRoleArn(String executionRoleArn) {
        setExecutionRoleArn(executionRoleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see
<a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html">Create a service role for
flows in Amazon Bedrock</a> in the Amazon Bedrock User Guide.
</p>

@param executionRoleArn
       The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more
       information, see <a
       href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html">Create a service role
       for flows in Amazon Bedrock</a> in the Amazon Bedrock User Guide.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/CreateFlowResult.java