public AppiumServiceBuilder withStartUpTimeOut ( long time , TimeUnit timeUnit ) { checkNotNull ( timeUnit ) ; checkArgument ( time > 0 , "Time value should be greater than zero" , time ) ; this . startupTimeout = time ; this . timeUnit = timeUnit ; return this ; }
Sets start up timeout .