public void setWarnings(java.util.Collection<String> warnings) {
        if (warnings == null) {
            this.warnings = null;
            return;
        }

        this.warnings = new java.util.ArrayList<String>(warnings);
    }
<p>
The warning messages reported when failonwarnings is turned on during API import.
</p>

@param warnings
       The warning messages reported when failonwarnings is turned on during API import.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/UpdateApiResult.java