docs: public java.util.List<DocumentServiceWarning> getWarnings() {
          if (warnings == null) {
              warnings = new com.amazonaws.internal.SdkInternalList<DocumentServiceWarning>();
          }
          return warnings;
      }