public StreamConfiguration withEc2InstanceTypes(java.util.Collection<String> ec2InstanceTypes) {
        setEc2InstanceTypes(ec2InstanceTypes);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
@see StreamingInstanceType
aws-java-sdk-nimblestudio/src/main/java/com/amazonaws/services/nimblestudio/model/StreamConfiguration.java