@Stability(value=Experimental) public static final class RunLambdaTaskProps.Builder extends Object
RunLambdaTaskProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RunLambdaTaskProps |
build()
Builds the configured instance.
|
RunLambdaTaskProps.Builder |
clientContext(String clientContext)
Sets the value of
RunLambdaTaskProps.getClientContext() |
RunLambdaTaskProps.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Sets the value of
RunLambdaTaskProps.getIntegrationPattern() |
RunLambdaTaskProps.Builder |
invocationType(InvocationType invocationType)
Sets the value of
RunLambdaTaskProps.getInvocationType() |
RunLambdaTaskProps.Builder |
payload(Map<String,Object> payload)
Sets the value of
RunLambdaTaskProps.getPayload() |
RunLambdaTaskProps.Builder |
qualifier(String qualifier)
Sets the value of
RunLambdaTaskProps.getQualifier() |
@Stability(value=Experimental) public RunLambdaTaskProps.Builder clientContext(String clientContext)
RunLambdaTaskProps.getClientContext()clientContext - Client context to pass to the function.this@Stability(value=Experimental) public RunLambdaTaskProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
RunLambdaTaskProps.getIntegrationPattern()integrationPattern - The service integration pattern indicates different ways to invoke Lambda function.
The valid value for Lambda is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN,
it determines whether to pause the workflow until a task token is returned.
If this is set to WAIT_FOR_TASK_TOKEN, the Context.taskToken value must be included
somewhere in the payload and the Lambda must call
SendTaskSuccess/SendTaskFailure using that token.
this@Stability(value=Experimental) public RunLambdaTaskProps.Builder invocationType(InvocationType invocationType)
RunLambdaTaskProps.getInvocationType()invocationType - Invocation type of the Lambda function.this@Stability(value=Experimental) public RunLambdaTaskProps.Builder payload(Map<String,Object> payload)
RunLambdaTaskProps.getPayload()payload - The JSON that you want to provide to your Lambda function as input.this@Stability(value=Experimental) public RunLambdaTaskProps.Builder qualifier(String qualifier)
RunLambdaTaskProps.getQualifier()qualifier - Version or alias of the function to be invoked.this@Stability(value=Experimental) public RunLambdaTaskProps build()
RunLambdaTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.