public java.util.List<WarningDetail> getWarnings() {
        if (warnings == null) {
            warnings = new com.amazonaws.internal.SdkInternalList<WarningDetail>();
        }
        return warnings;
    }
<p>
The warnings generated for this resource.
</p>

@return The warnings generated for this resource.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceDetail.java