public FlowNode withInputs(FlowNodeInput... inputs) {
        if (this.inputs == null) {
            setInputs(new java.util.ArrayList<FlowNodeInput>(inputs.length));
        }
        for (FlowNodeInput ele : inputs) {
            this.inputs.add(ele);
        }
        return this;
    }
<p>
An array of objects, each of which contains information about an input into the node.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInputs(java.util.Collection)} or {@link #withInputs(java.util.Collection)} if you want to override the
existing values.
</p>

@param inputs
       An array of objects, each of which contains information about an input into 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