public void setDefinition(FlowDefinition definition) {
        this.definition = definition;
    }
<p>
A definition of the nodes and connections between nodes in the flow.
</p>

@param definition
       A definition of the nodes and connections between nodes in the flow.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/CreateFlowResult.java