Request - incoming request object type.Self - of type Builder.protected abstract static class AbstractHandlerInput.Builder<Request,Self extends AbstractHandlerInput.Builder<Request,Self>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
context
Exposed by AWS Lambda.
|
protected Request |
request
Incoming request object.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractHandlerInput<Request> |
build()
Abstract method to build an instance of AbstractHandlerInput.
|
Self |
withContext(Object context)
Add context object to HandlerInput.
|
Self |
withRequest(Request request)
Add request object to HandlerInput.
|
protected Request request
protected Object context
public Self withRequest(Request request)
request - incoming request object.AbstractHandlerInput.Builder.public Self withContext(Object context)
context - context.AbstractHandlerInput.Builder.public abstract AbstractHandlerInput<Request> build()
AbstractHandlerInput.Copyright © 2023. All rights reserved.