public ImportApiKeysRequest withFailOnWarnings(Boolean failOnWarnings) {
        setFailOnWarnings(failOnWarnings);
        return this;
    }
<p>
A query parameter to indicate whether to rollback ApiKey importation (<code>true</code>) or not (
<code>false</code>) when error is encountered.
</p>

@param failOnWarnings
       A query parameter to indicate whether to rollback ApiKey importation (<code>true</code>) or not (
       <code>false</code>) when error is encountered.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/ImportApiKeysRequest.java