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