public Function withParameters(java.util.Map<String, ParameterDetail> parameters) {
        setParameters(parameters);
        return this;
    }
<p>
The parameters that the agent elicits from the user to fulfill the function.
</p>

@param parameters
       The parameters that the agent elicits from the user to fulfill the function.
@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/Function.java