public void setRequired(Boolean required) {
        this.required = required;
    }
<p>
Whether the parameter is required for the agent to complete the function for action group invocation.
</p>

@param required
       Whether the parameter is required for the agent to complete the function for action group invocation.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/ParameterDetail.java