public WAFInvalidParameterException withParameter(String parameter) {
        setParameter(parameter);
        return this;
    }
<p>
The invalid parameter that resulted in the exception.
</p>

@param parameter
       The invalid parameter that resulted in the exception.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/WAFInvalidParameterException.java