Interface HarnessHookLambdaTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessHookLambdaTarget.Builder,,HarnessHookLambdaTarget> SdkBuilder<HarnessHookLambdaTarget.Builder,,HarnessHookLambdaTarget> SdkPojo
- Enclosing class:
HarnessHookLambdaTarget
@Mutable
@NotThreadSafe
public static interface HarnessHookLambdaTarget.Builder
extends SdkPojo, CopyableBuilder<HarnessHookLambdaTarget.Builder,HarnessHookLambdaTarget>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the Lambda function to invoke.failureMode(String failureMode) The behavior when the Lambda function times out, returns an error, or returns an invalid response.failureMode(HarnessHookFailureMode failureMode) The behavior when the Lambda function times out, returns an error, or returns an invalid response.timeoutSeconds(Integer timeoutSeconds) The maximum number of seconds to wait for the Lambda function response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The ARN of the Lambda function to invoke.
- Parameters:
arn- The ARN of the Lambda function to invoke.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutSeconds
The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds.
- Parameters:
timeoutSeconds- The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMode
The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is
DENY.- Parameters:
failureMode- The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default isDENY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMode
The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is
DENY.- Parameters:
failureMode- The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default isDENY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-