public static class LambdaInvokerFactory.Builder extends Object
| Constructor | Description |
|---|---|
Builder() |
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
build(Class<T> interfaceClass) |
Build a remote proxy of the given interface to make calls to AWS Lambda.
|
LambdaInvokerFactory.Builder |
functionAlias(String functionAlias) |
Sets the function alias to invoke.
|
LambdaInvokerFactory.Builder |
functionVersion(String functionVersion) |
Sets the function version to invoke.
|
LambdaInvokerFactory.Builder |
lambdaClient(LambdaAsyncClient lambda) |
Sets the client to use to call AWS Lambda.
|
LambdaInvokerFactory.Builder |
lambdaFunctionNameResolver(LambdaFunctionNameResolver functionNameResolver) |
Sets a new Function name resolver to override the default behavior.
|
public LambdaInvokerFactory.Builder lambdaFunctionNameResolver(LambdaFunctionNameResolver functionNameResolver)
functionNameResolver - Implementation of LambdaFunctionNameResolverpublic LambdaInvokerFactory.Builder functionAlias(String functionAlias)
public LambdaInvokerFactory.Builder functionVersion(String functionVersion)
public LambdaInvokerFactory.Builder lambdaClient(LambdaAsyncClient lambda)
lambda - Client instance to use.public <T> T build(Class<T> interfaceClass)
T - Interface type.interfaceClass - Interface class to proxy.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.