@Stability(value=Stable) public static final class LambdaDestinationOptions.Builder extends Object implements software.amazon.jsii.Builder<LambdaDestinationOptions>
LambdaDestinationOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LambdaDestinationOptions |
build()
Builds the configured instance.
|
LambdaDestinationOptions.Builder |
responseOnly(Boolean responseOnly)
Sets the value of
LambdaDestinationOptions.getResponseOnly() |
@Stability(value=Stable) public LambdaDestinationOptions.Builder responseOnly(Boolean responseOnly)
LambdaDestinationOptions.getResponseOnly()responseOnly - Whether the destination function receives only the `responsePayload` of the source function.
When set to true and used as onSuccess destination, the destination
function will be invoked with the payload returned by the source function.
When set to true and used as onFailure destination, the destination
function will be invoked with the error object returned by source function.
See the README of this module to see a full explanation of this option.
this@Stability(value=Stable) public LambdaDestinationOptions build()
build in interface software.amazon.jsii.Builder<LambdaDestinationOptions>LambdaDestinationOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.