public InstanceFleetConfig withInstanceTypeConfigs(InstanceTypeConfig... instanceTypeConfigs) {
        if (this.instanceTypeConfigs == null) {
            setInstanceTypeConfigs(new com.amazonaws.internal.SdkInternalList<InstanceTypeConfig>(instanceTypeConfigs.length));
        }
        for (InstanceTypeConfig ele : instanceTypeConfigs) {
            this.instanceTypeConfigs.add(ele);
        }
        return this;
    }
<p>
The instance type configurations that define the Amazon EC2 instances in the instance fleet.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInstanceTypeConfigs(java.util.Collection)} or {@link #withInstanceTypeConfigs(java.util.Collection)}
if you want to override the existing values.
</p>

@param instanceTypeConfigs
       The instance type configurations that define the Amazon EC2 instances in the instance fleet.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/InstanceFleetConfig.java