public class LambdaInvokerFactory extends Object
| Constructor and Description |
|---|
LambdaInvokerFactory(android.content.Context context,
Regions region,
AWSCredentialsProvider provider)
Constructs a Lambda invoker factory object.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
build(Class<T> interfaceClass)
Contexts a dynamic proxy object of the given class with a default Json
data binder.
|
<T> T |
build(Class<T> interfaceClass,
LambdaDataBinder binder)
Contexts a dynamic proxy object of the given class.
|
ClientContext |
getClientContext()
Gets the client context associated with this factory.
|
public LambdaInvokerFactory(android.content.Context context,
Regions region,
AWSCredentialsProvider provider)
context - context of the app. A client context will be created from
the given context.region - region of Lambda serviceprovider - a AWS credentials providerpublic <T> T build(Class<T> interfaceClass)
interfaceClass - the class to be dynamically proxied by Lambdapublic <T> T build(Class<T> interfaceClass, LambdaDataBinder binder)
interfaceClass - the class to be dynamically proxied by Lambdabinder - a data binder to convert between POJO and byte stream.public ClientContext getClientContext()
Copyright © 2015. All rights reserved.