@Stability(value=Experimental) public static final class EventInvokeConfigOptions.Builder extends Object implements software.amazon.jsii.Builder<EventInvokeConfigOptions>
EventInvokeConfigOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EventInvokeConfigOptions |
build()
Builds the configured instance.
|
EventInvokeConfigOptions.Builder |
maxEventAge(Duration maxEventAge)
Sets the value of
EventInvokeConfigOptions.getMaxEventAge() |
EventInvokeConfigOptions.Builder |
onFailure(IDestination onFailure)
Sets the value of
EventInvokeConfigOptions.getOnFailure() |
EventInvokeConfigOptions.Builder |
onSuccess(IDestination onSuccess)
Sets the value of
EventInvokeConfigOptions.getOnSuccess() |
EventInvokeConfigOptions.Builder |
retryAttempts(Number retryAttempts)
Sets the value of
EventInvokeConfigOptions.getRetryAttempts() |
@Stability(value=Experimental) public EventInvokeConfigOptions.Builder maxEventAge(Duration maxEventAge)
EventInvokeConfigOptions.getMaxEventAge()maxEventAge - The maximum age of a request that Lambda sends to a function for processing.
Minimum: 60 seconds
Maximum: 6 hoursthis@Stability(value=Experimental) public EventInvokeConfigOptions.Builder onFailure(IDestination onFailure)
EventInvokeConfigOptions.getOnFailure()onFailure - The destination for failed invocations.this@Stability(value=Experimental) public EventInvokeConfigOptions.Builder onSuccess(IDestination onSuccess)
EventInvokeConfigOptions.getOnSuccess()onSuccess - The destination for successful invocations.this@Stability(value=Experimental) public EventInvokeConfigOptions.Builder retryAttempts(Number retryAttempts)
EventInvokeConfigOptions.getRetryAttempts()retryAttempts - The maximum number of times to retry when the function returns an error.
Minimum: 0
Maximum: 2this@Stability(value=Experimental) public EventInvokeConfigOptions build()
build in interface software.amazon.jsii.Builder<EventInvokeConfigOptions>EventInvokeConfigOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.