public SpotFleetRequestConfigData withLaunchTemplateConfigs(LaunchTemplateConfig... launchTemplateConfigs) {
        if (this.launchTemplateConfigs == null) {
            setLaunchTemplateConfigs(new com.amazonaws.internal.SdkInternalList<LaunchTemplateConfig>(launchTemplateConfigs.length));
        }
        for (LaunchTemplateConfig ele : launchTemplateConfigs) {
            this.launchTemplateConfigs.add(ele);
        }
        return this;
    }
public SpotFleetRequestConfigData withLaunchTemplateConfigs ( LaunchTemplateConfig ... launchTemplateConfigs ) { if ( this . launchTemplateConfigs == null ) { setLaunchTemplateConfigs ( new com . amazonaws . internal . SdkInternalList < LaunchTemplateConfig > ( launchTemplateConfigs . length ) ) ; } for ( LaunchTemplateConfig ele : launchTemplateConfigs ) { this . launchTemplateConfigs . add ( ele ) ; } return this ; }
<p>
The launch template and overrides. If you specify <code>LaunchTemplateConfigs</code>, you can't specify
<code>LaunchSpecifications</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLaunchTemplateConfigs(java.util.Collection)} or
{@link #withLaunchTemplateConfigs(java.util.Collection)} if you want to override the existing values.
</p>

@param launchTemplateConfigs
The launch template and overrides. If you specify <code>LaunchTemplateConfigs</code>, you can't specify
<code>LaunchSpecifications</code>.
@return Returns a reference to this object so that method calls can be chained together.