public void setEc2InstanceTypes(java.util.Collection<String> ec2InstanceTypes) {
        if (ec2InstanceTypes == null) {
            this.ec2InstanceTypes = null;
            return;
        }

        this.ec2InstanceTypes = new java.util.ArrayList<String>(ec2InstanceTypes);
    }
<p>
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
</p>

@param ec2InstanceTypes
       The EC2 instance types that users can select from when launching a streaming session with this launch
       profile.
@see StreamingInstanceType
aws-java-sdk-nimblestudio/src/main/java/com/amazonaws/services/nimblestudio/model/StreamConfiguration.java