public static interface UpdateEventSourceMappingResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<UpdateEventSourceMappingResponse.Builder,UpdateEventSourceMappingResponse>
Modifier and Type | Method and Description |
---|---|
UpdateEventSourceMappingResponse.Builder |
batchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
UpdateEventSourceMappingResponse.Builder |
bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
|
default UpdateEventSourceMappingResponse.Builder |
destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
UpdateEventSourceMappingResponse.Builder |
destinationConfig(DestinationConfig destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
UpdateEventSourceMappingResponse.Builder |
eventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
UpdateEventSourceMappingResponse.Builder |
functionArn(String functionArn)
The ARN of the Lambda function.
|
UpdateEventSourceMappingResponse.Builder |
functionResponseTypes(Collection<FunctionResponseType> functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
|
UpdateEventSourceMappingResponse.Builder |
functionResponseTypes(FunctionResponseType... functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
|
UpdateEventSourceMappingResponse.Builder |
functionResponseTypesWithStrings(Collection<String> functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
|
UpdateEventSourceMappingResponse.Builder |
functionResponseTypesWithStrings(String... functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
|
UpdateEventSourceMappingResponse.Builder |
lastModified(Instant lastModified)
The date that the event source mapping was last updated, or its state changed.
|
UpdateEventSourceMappingResponse.Builder |
lastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
UpdateEventSourceMappingResponse.Builder |
maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function,
in seconds.
|
UpdateEventSourceMappingResponse.Builder |
maximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) Discard records older than the specified age.
|
UpdateEventSourceMappingResponse.Builder |
maximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) Discard records after the specified number of retries.
|
UpdateEventSourceMappingResponse.Builder |
parallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
|
UpdateEventSourceMappingResponse.Builder |
queues(Collection<String> queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
|
UpdateEventSourceMappingResponse.Builder |
queues(String... queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
|
default UpdateEventSourceMappingResponse.Builder |
selfManagedEventSource(Consumer<SelfManagedEventSource.Builder> selfManagedEventSource)
The Self-Managed Apache Kafka cluster for your event source.
|
UpdateEventSourceMappingResponse.Builder |
selfManagedEventSource(SelfManagedEventSource selfManagedEventSource)
The Self-Managed Apache Kafka cluster for your event source.
|
UpdateEventSourceMappingResponse.Builder |
sourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
|
UpdateEventSourceMappingResponse.Builder |
sourceAccessConfigurations(Consumer<SourceAccessConfiguration.Builder>... sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
|
UpdateEventSourceMappingResponse.Builder |
sourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
|
UpdateEventSourceMappingResponse.Builder |
startingPosition(EventSourcePosition startingPosition)
The position in a stream from which to start reading.
|
UpdateEventSourceMappingResponse.Builder |
startingPosition(String startingPosition)
The position in a stream from which to start reading.
|
UpdateEventSourceMappingResponse.Builder |
startingPositionTimestamp(Instant startingPositionTimestamp)
With
StartingPosition set to AT_TIMESTAMP , the time from which to start reading. |
UpdateEventSourceMappingResponse.Builder |
state(String state)
The state of the event source mapping.
|
UpdateEventSourceMappingResponse.Builder |
stateTransitionReason(String stateTransitionReason)
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
|
UpdateEventSourceMappingResponse.Builder |
topics(Collection<String> topics)
The name of the Kafka topic.
|
UpdateEventSourceMappingResponse.Builder |
topics(String... topics)
The name of the Kafka topic.
|
UpdateEventSourceMappingResponse.Builder |
tumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Streams) The duration in seconds of a processing window.
|
UpdateEventSourceMappingResponse.Builder |
uuid(String uuid)
The identifier of the event source mapping.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateEventSourceMappingResponse.Builder uuid(String uuid)
The identifier of the event source mapping.
uuid
- The identifier of the event source mapping.UpdateEventSourceMappingResponse.Builder startingPosition(String startingPosition)
The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and
Amazon MSK Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis streams.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB,
and Amazon MSK Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis
streams.EventSourcePosition
,
EventSourcePosition
UpdateEventSourceMappingResponse.Builder startingPosition(EventSourcePosition startingPosition)
The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and
Amazon MSK Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis streams.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB,
and Amazon MSK Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis
streams.EventSourcePosition
,
EventSourcePosition
UpdateEventSourceMappingResponse.Builder startingPositionTimestamp(Instant startingPositionTimestamp)
With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to start
reading.UpdateEventSourceMappingResponse.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.UpdateEventSourceMappingResponse.Builder maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.
maximumBatchingWindowInSeconds
- (Streams and SQS standard queues) The maximum amount of time to gather records before invoking the
function, in seconds. The default value is zero.UpdateEventSourceMappingResponse.Builder parallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently. The default value is 1.
parallelizationFactor
- (Streams) The number of batches to process from each shard concurrently. The default value is 1.UpdateEventSourceMappingResponse.Builder eventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
eventSourceArn
- The Amazon Resource Name (ARN) of the event source.UpdateEventSourceMappingResponse.Builder functionArn(String functionArn)
The ARN of the Lambda function.
functionArn
- The ARN of the Lambda function.UpdateEventSourceMappingResponse.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.UpdateEventSourceMappingResponse.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.UpdateEventSourceMappingResponse.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
.UpdateEventSourceMappingResponse.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.UpdateEventSourceMappingResponse.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 UpdateEventSourceMappingResponse.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)
UpdateEventSourceMappingResponse.Builder topics(Collection<String> topics)
The name of the Kafka topic.
topics
- The name of the Kafka topic.UpdateEventSourceMappingResponse.Builder topics(String... topics)
The name of the Kafka topic.
topics
- The name of the Kafka topic.UpdateEventSourceMappingResponse.Builder queues(Collection<String> queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
queues
- (MQ) The name of the Amazon MQ broker destination queue to consume.UpdateEventSourceMappingResponse.Builder queues(String... queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
queues
- (MQ) The name of the Amazon MQ broker destination queue to consume.UpdateEventSourceMappingResponse.Builder sourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
sourceAccessConfigurations
- An array of the authentication protocol, or the VPC components to secure your event source.UpdateEventSourceMappingResponse.Builder sourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
sourceAccessConfigurations
- An array of the authentication protocol, or the VPC components to secure your event source.UpdateEventSourceMappingResponse.Builder sourceAccessConfigurations(Consumer<SourceAccessConfiguration.Builder>... sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #sourceAccessConfigurations(List)
.sourceAccessConfigurations
- a consumer that will call methods on List.Builder
#sourceAccessConfigurations(List)
UpdateEventSourceMappingResponse.Builder selfManagedEventSource(SelfManagedEventSource selfManagedEventSource)
The Self-Managed Apache Kafka cluster for your event source.
selfManagedEventSource
- The Self-Managed Apache Kafka cluster for your event source.default UpdateEventSourceMappingResponse.Builder selfManagedEventSource(Consumer<SelfManagedEventSource.Builder> selfManagedEventSource)
The Self-Managed Apache Kafka cluster for your event source.
This is a convenience that creates an instance of theSelfManagedEventSource.Builder
avoiding the
need to create one manually via SelfManagedEventSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to selfManagedEventSource(SelfManagedEventSource)
.selfManagedEventSource
- a consumer that will call methods on SelfManagedEventSource.Builder
selfManagedEventSource(SelfManagedEventSource)
UpdateEventSourceMappingResponse.Builder maximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
maximumRecordAgeInSeconds
- (Streams) Discard records older than the specified age. The default value is infinite (-1). When set
to infinite (-1), failed records are retried until the record expires.UpdateEventSourceMappingResponse.Builder bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry. The default value is false.
bisectBatchOnFunctionError
- (Streams) If the function returns an error, split the batch in two and retry. The default value is
false.UpdateEventSourceMappingResponse.Builder maximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
maximumRetryAttempts
- (Streams) Discard records after the specified number of retries. The default value is infinite (-1).
When set to infinite (-1), failed records are retried until the record expires.UpdateEventSourceMappingResponse.Builder tumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Streams) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.
tumblingWindowInSeconds
- (Streams) The duration in seconds of a processing window. The range is between 1 second up to 900
seconds.UpdateEventSourceMappingResponse.Builder functionResponseTypesWithStrings(Collection<String> functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams) A list of current response type enums applied to the event source mapping.UpdateEventSourceMappingResponse.Builder functionResponseTypesWithStrings(String... functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams) A list of current response type enums applied to the event source mapping.UpdateEventSourceMappingResponse.Builder functionResponseTypes(Collection<FunctionResponseType> functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams) A list of current response type enums applied to the event source mapping.UpdateEventSourceMappingResponse.Builder functionResponseTypes(FunctionResponseType... functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams) A list of current response type enums applied to the event source mapping.Copyright © 2021. All rights reserved.