Interface PutFunctionRecursionConfigRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutFunctionRecursionConfigRequest.Builder,PutFunctionRecursionConfigRequest>
,LambdaRequest.Builder
,SdkBuilder<PutFunctionRecursionConfigRequest.Builder,PutFunctionRecursionConfigRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- PutFunctionRecursionConfigRequest
public static interface PutFunctionRecursionConfigRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<PutFunctionRecursionConfigRequest.Builder,PutFunctionRecursionConfigRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutFunctionRecursionConfigRequest.Builder
functionName(String functionName)
The name or ARN of the Lambda function.PutFunctionRecursionConfigRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
PutFunctionRecursionConfigRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
PutFunctionRecursionConfigRequest.Builder
recursiveLoop(String recursiveLoop)
If you set your function's recursive loop detection configuration toAllow
, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop.PutFunctionRecursionConfigRequest.Builder
recursiveLoop(RecursiveLoop recursiveLoop)
If you set your function's recursive loop detection configuration toAllow
, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
functionName
PutFunctionRecursionConfigRequest.Builder functionName(String functionName)
The name or ARN of the Lambda function.
Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
- Parameters:
functionName
- The name or ARN of the Lambda function.Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
recursiveLoop
PutFunctionRecursionConfigRequest.Builder recursiveLoop(String recursiveLoop)
If you set your function's recursive loop detection configuration to
Allow
, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop. We recommend that you only use this setting if your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes it.If you set your function's recursive loop detection configuration to
Terminate
, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop.By default, Lambda sets your function's configuration to
Terminate
.If your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes the function, then use caution and implement suitable guard rails to prevent unexpected charges being billed to your Amazon Web Services account. To learn more about best practices for using recursive invocation patterns, see Recursive patterns that cause run-away Lambda functions in Serverless Land.
- Parameters:
recursiveLoop
- If you set your function's recursive loop detection configuration toAllow
, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop. We recommend that you only use this setting if your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes it.If you set your function's recursive loop detection configuration to
Terminate
, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop.By default, Lambda sets your function's configuration to
Terminate
.If your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes the function, then use caution and implement suitable guard rails to prevent unexpected charges being billed to your Amazon Web Services account. To learn more about best practices for using recursive invocation patterns, see Recursive patterns that cause run-away Lambda functions in Serverless Land.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecursiveLoop
,RecursiveLoop
-
recursiveLoop
PutFunctionRecursionConfigRequest.Builder recursiveLoop(RecursiveLoop recursiveLoop)
If you set your function's recursive loop detection configuration to
Allow
, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop. We recommend that you only use this setting if your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes it.If you set your function's recursive loop detection configuration to
Terminate
, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop.By default, Lambda sets your function's configuration to
Terminate
.If your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes the function, then use caution and implement suitable guard rails to prevent unexpected charges being billed to your Amazon Web Services account. To learn more about best practices for using recursive invocation patterns, see Recursive patterns that cause run-away Lambda functions in Serverless Land.
- Parameters:
recursiveLoop
- If you set your function's recursive loop detection configuration toAllow
, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop. We recommend that you only use this setting if your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes it.If you set your function's recursive loop detection configuration to
Terminate
, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop.By default, Lambda sets your function's configuration to
Terminate
.If your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes the function, then use caution and implement suitable guard rails to prevent unexpected charges being billed to your Amazon Web Services account. To learn more about best practices for using recursive invocation patterns, see Recursive patterns that cause run-away Lambda functions in Serverless Land.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecursiveLoop
,RecursiveLoop
-
overrideConfiguration
PutFunctionRecursionConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutFunctionRecursionConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-