docs: public AutomationExecution withTargetLocations(TargetLocation... targetLocations) {
          if (this.targetLocations == null) {
              setTargetLocations(new com.amazonaws.internal.SdkInternalList<TargetLocation>(targetLocations.length));
          }
          for (TargetLocation ele : targetLocations) {
              this.targetLocations.add(ele);
          }
          return this;
      }