public CreateStreamingSessionRequest withEc2InstanceType(StreamingInstanceType ec2InstanceType) {
        this.ec2InstanceType = ec2InstanceType.toString();
        return this;
    }
<p>
The EC2 Instance type used for the streaming session.
</p>

@param ec2InstanceType
       The EC2 Instance type used for the streaming session.
@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/CreateStreamingSessionRequest.java