docs: public void setWarnings(java.util.Collection<String> warnings) {
          if (warnings == null) {
              this.warnings = null;
              return;
          }
  
          this.warnings = new com.amazonaws.internal.SdkInternalList<String>(warnings);
      }