public FlowNode withConfiguration(FlowNodeConfiguration configuration) {
        setConfiguration(configuration);
        return this;
    }
<p>
Contains configurations for the node.
</p>

@param configuration
       Contains configurations for the node.
@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/FlowNode.java