public static interface UpdateEventSourceMappingRequest.Builder extends LambdaRequest.Builder, CopyableBuilder<UpdateEventSourceMappingRequest.Builder,UpdateEventSourceMappingRequest>
Modifier and Type | Method and Description |
---|---|
UpdateEventSourceMappingRequest.Builder |
batchSize(Integer batchSize)
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
|
UpdateEventSourceMappingRequest.Builder |
enabled(Boolean enabled)
Specifies whether AWS Lambda should actively poll the stream or not.
|
UpdateEventSourceMappingRequest.Builder |
functionName(String functionName)
The Lambda function to which you want the stream records sent.
|
UpdateEventSourceMappingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateEventSourceMappingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateEventSourceMappingRequest.Builder |
uuid(String uuid)
The event source mapping identifier.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateEventSourceMappingRequest.Builder uuid(String uuid)
The event source mapping identifier.
uuid
- The event source mapping identifier.UpdateEventSourceMappingRequest.Builder functionName(String functionName)
The Lambda function to which you want the stream records sent.
You can specify a function name (for example, Thumbnail
) or you can specify Amazon Resource Name
(ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS
Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail
). Note that
the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64
characters in length.
If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
functionName
- The Lambda function to which you want the stream records sent.
You can specify a function name (for example, Thumbnail
) or you can specify Amazon
Resource Name (ARN) of the function (for example,
arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to
specify a partial ARN (for example, account-id:Thumbnail
). Note that the length
constraint applies only to the ARN. If you specify only the function name, it is limited to 64
characters in length.
If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
UpdateEventSourceMappingRequest.Builder enabled(Boolean enabled)
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
enabled
- Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not
poll the stream.UpdateEventSourceMappingRequest.Builder batchSize(Integer batchSize)
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
batchSize
- The maximum number of stream records that can be sent to your Lambda function for a single invocation.UpdateEventSourceMappingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateEventSourceMappingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.