code: public OriginEndpoint withWhitelist(String... whitelist) {
          if (this.whitelist == null) {
              setWhitelist(new java.util.ArrayList<String>(whitelist.length));
          }
          for (String ele : whitelist) {
              this.whitelist.add(ele);
          }
          return this;
      }
docs: A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setWhitelist(java.util.Collection)} or {@link #withWhitelist(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param whitelist
  A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
  @return Returns a reference to this object so that method calls can be chained together.