Method for setting up scenario

I would like to write a small method for setting the scenarios up. It looks this way:
def setMeUp (
delayTime: Int,
usersFromStart: Int,
rampingUsers: Int,
rampingDuration: Int,
protocolName: ???,
scenarioName:???) = {

scenarioName.inject(
nothingFor(delayTime)
.atOnceUsers(usersFromStart)
.rampUsers(rampingUsers) over (rampingDuration seconds))
.protocols(httpProtocol)
}

What type protocolName and scenarioName variables are?

If you use an IDE, you should be able to easily get the proper types, right?

Yes, I use idea IDE and when I extract the variable customScenarioName, I get
var declaration: LoadTest.this.customScenarioName.type = customScenarioName

and I don’t really know what can i do with it

Ok, got it working now. Actually in terminal window scala wrote about what type it expects, so if anyone will need this:

scenarioName: io.gatling.core.structure.ScenarioBuilder,
protocolName: io.gatling.http.config.HttpProtocolBuilder