code: public SpotFleetRequestConfigData withLaunchSpecifications(SpotFleetLaunchSpecification... launchSpecifications) {
          if (this.launchSpecifications == null) {
              setLaunchSpecifications(new com.amazonaws.internal.SdkInternalList<SpotFleetLaunchSpecification>(launchSpecifications.length));
          }
          for (SpotFleetLaunchSpecification ele : launchSpecifications) {
              this.launchSpecifications.add(ele);
          }
          return this;
      }
docs: <p>
  The launch specifications for the Spot Fleet request. If you specify <code>LaunchSpecifications</code>, you can't
  specify <code>LaunchTemplateConfigs</code>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setLaunchSpecifications(java.util.Collection)} or {@link #withLaunchSpecifications(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param launchSpecifications
  The launch specifications for the Spot Fleet request. If you specify <code>LaunchSpecifications</code>,
  you can't specify <code>LaunchTemplateConfigs</code>.
  @return Returns a reference to this object so that method calls can be chained together.