code: public HealthCheckConfig withRegions(HealthCheckRegion... regions) {
          com.amazonaws.internal.SdkInternalList<String> regionsCopy = new com.amazonaws.internal.SdkInternalList<String>(regions.length);
          for (HealthCheckRegion value : regions) {
              regionsCopy.add(value.toString());
          }
          if (getRegions() == null) {
              setRegions(regionsCopy);
          } else {
              getRegions().addAll(regionsCopy);
          }
          return this;
      }
docs: <p>
  A complex type that contains one <code>Region</code> element for each region from which you want Amazon Route 53
  health checkers to check the specified endpoint.
  </p>
  <p>
  If you don't specify any regions, Route 53 health checkers automatically performs checks from all of the regions
  that are listed under <b>Valid Values</b>.
  </p>
  <p>
  If you update a health check to remove a region that has been performing health checks, Route 53 will briefly
  continue to perform checks from that region to ensure that some health checkers are always checking the endpoint
  (for example, if you replace three regions with four different regions).
  </p>
  
  @param regions
  A complex type that contains one <code>Region</code> element for each region from which you want Amazon
  Route 53 health checkers to check the specified endpoint.</p>
  <p>
  If you don't specify any regions, Route 53 health checkers automatically performs checks from all of the
  regions that are listed under <b>Valid Values</b>.
  </p>
  <p>
  If you update a health check to remove a region that has been performing health checks, Route 53 will
  briefly continue to perform checks from that region to ensure that some health checkers are always
  checking the endpoint (for example, if you replace three regions with four different regions).
  @return Returns a reference to this object so that method calls can be chained together.
  @see HealthCheckRegion