uk.co.developmentanddinosaurs.gatling.lambda.javaapi.protocol.LambdaProtocolBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gatling-lambda-extension Show documentation
Show all versions of gatling-lambda-extension Show documentation
A Gatling extension for invoking lambda functions.
The newest version!
package uk.co.developmentanddinosaurs.gatling.lambda.javaapi.protocol;
import io.gatling.core.protocol.Protocol;
import io.gatling.javaapi.core.ProtocolBuilder;
import software.amazon.awssdk.services.lambda.LambdaClient;
public class LambdaProtocolBuilder implements ProtocolBuilder {
private final uk.co.developmentanddinosaurs.gatling.lambda.protocol.LambdaProtocolBuilder wrapped;
public LambdaProtocolBuilder(
uk.co.developmentanddinosaurs.gatling.lambda.protocol.LambdaProtocolBuilder wrapped) {
this.wrapped = wrapped;
}
public LambdaProtocolBuilder client(LambdaClient client) {
return new LambdaProtocolBuilder(wrapped.client(client));
}
@Override
public Protocol protocol() {
return wrapped.protocol();
}
}