public static interface CreateEventSourceMappingResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<CreateEventSourceMappingResponse.Builder,CreateEventSourceMappingResponse>
Modifier and Type | Method and Description |
---|---|
CreateEventSourceMappingResponse.Builder |
batchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
CreateEventSourceMappingResponse.Builder |
bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
|
default CreateEventSourceMappingResponse.Builder |
destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
CreateEventSourceMappingResponse.Builder |
destinationConfig(DestinationConfig destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
CreateEventSourceMappingResponse.Builder |
eventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
CreateEventSourceMappingResponse.Builder |
functionArn(String functionArn)
The ARN of the Lambda function.
|
CreateEventSourceMappingResponse.Builder |
lastModified(Instant lastModified)
The date that the event source mapping was last updated, or its state changed.
|
CreateEventSourceMappingResponse.Builder |
lastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
CreateEventSourceMappingResponse.Builder |
maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum amount of time to gather records before invoking the function, in seconds.
|
CreateEventSourceMappingResponse.Builder |
maximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) The maximum age of a record that Lambda sends to a function for processing.
|
CreateEventSourceMappingResponse.Builder |
maximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) The maximum number of times to retry when the function returns an error.
|
CreateEventSourceMappingResponse.Builder |
parallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
|
CreateEventSourceMappingResponse.Builder |
state(String state)
The state of the event source mapping.
|
CreateEventSourceMappingResponse.Builder |
stateTransitionReason(String stateTransitionReason)
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
|
CreateEventSourceMappingResponse.Builder |
uuid(String uuid)
The identifier of the event source mapping.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateEventSourceMappingResponse.Builder uuid(String uuid)
The identifier of the event source mapping.
uuid
- The identifier of the event source mapping.CreateEventSourceMappingResponse.Builder batchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
batchSize
- The maximum number of items to retrieve in a single batch.CreateEventSourceMappingResponse.Builder maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum amount of time to gather records before invoking the function, in seconds.
maximumBatchingWindowInSeconds
- The maximum amount of time to gather records before invoking the function, in seconds.CreateEventSourceMappingResponse.Builder parallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
parallelizationFactor
- (Streams) The number of batches to process from each shard concurrently.CreateEventSourceMappingResponse.Builder eventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
eventSourceArn
- The Amazon Resource Name (ARN) of the event source.CreateEventSourceMappingResponse.Builder functionArn(String functionArn)
The ARN of the Lambda function.
functionArn
- The ARN of the Lambda function.CreateEventSourceMappingResponse.Builder lastModified(Instant lastModified)
The date that the event source mapping was last updated, or its state changed.
lastModified
- The date that the event source mapping was last updated, or its state changed.CreateEventSourceMappingResponse.Builder lastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
lastProcessingResult
- The result of the last AWS Lambda invocation of your Lambda function.CreateEventSourceMappingResponse.Builder state(String state)
The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.
state
- The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.CreateEventSourceMappingResponse.Builder stateTransitionReason(String stateTransitionReason)
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
stateTransitionReason
- Indicates whether the last change to the event source mapping was made by a user, or by the Lambda
service.CreateEventSourceMappingResponse.Builder destinationConfig(DestinationConfig destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
destinationConfig
- (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.default CreateEventSourceMappingResponse.Builder destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
This is a convenience that creates an instance of theDestinationConfig.Builder
avoiding the need to
create one manually via DestinationConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to destinationConfig(DestinationConfig)
.destinationConfig
- a consumer that will call methods on DestinationConfig.Builder
destinationConfig(DestinationConfig)
CreateEventSourceMappingResponse.Builder maximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) The maximum age of a record that Lambda sends to a function for processing.
maximumRecordAgeInSeconds
- (Streams) The maximum age of a record that Lambda sends to a function for processing.CreateEventSourceMappingResponse.Builder bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
bisectBatchOnFunctionError
- (Streams) If the function returns an error, split the batch in two and retry.CreateEventSourceMappingResponse.Builder maximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) The maximum number of times to retry when the function returns an error.
maximumRetryAttempts
- (Streams) The maximum number of times to retry when the function returns an error.Copyright © 2019. All rights reserved.