public TargetResourceTypeParameter withRequired(Boolean required) {
        setRequired(required);
        return this;
    }
<p>
Indicates whether the parameter is required.
</p>

@param required
       Indicates whether the parameter is required.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fis/src/main/java/com/amazonaws/services/fis/model/TargetResourceTypeParameter.java