Interface PipeSourceKinesisStreamParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PipeSourceKinesisStreamParameters.Builder,PipeSourceKinesisStreamParameters>,SdkBuilder<PipeSourceKinesisStreamParameters.Builder,PipeSourceKinesisStreamParameters>,SdkPojo
- Enclosing class:
- PipeSourceKinesisStreamParameters
public static interface PipeSourceKinesisStreamParameters.Builder extends SdkPojo, CopyableBuilder<PipeSourceKinesisStreamParameters.Builder,PipeSourceKinesisStreamParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PipeSourceKinesisStreamParameters.BuilderbatchSize(Integer batchSize)The maximum number of records to include in each batch.default PipeSourceKinesisStreamParameters.BuilderdeadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)Define the target queue to send dead-letter queue events to.PipeSourceKinesisStreamParameters.BuilderdeadLetterConfig(DeadLetterConfig deadLetterConfig)Define the target queue to send dead-letter queue events to.PipeSourceKinesisStreamParameters.BuildermaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)The maximum length of a time to wait for events.PipeSourceKinesisStreamParameters.BuildermaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)(Streams only) Discard records older than the specified age.PipeSourceKinesisStreamParameters.BuildermaximumRetryAttempts(Integer maximumRetryAttempts)(Streams only) Discard records after the specified number of retries.PipeSourceKinesisStreamParameters.BuilderonPartialBatchItemFailure(String onPartialBatchItemFailure)(Streams only) Define how to handle item process failures.PipeSourceKinesisStreamParameters.BuilderonPartialBatchItemFailure(OnPartialBatchItemFailureStreams onPartialBatchItemFailure)(Streams only) Define how to handle item process failures.PipeSourceKinesisStreamParameters.BuilderparallelizationFactor(Integer parallelizationFactor)(Streams only) The number of batches to process concurrently from each shard.PipeSourceKinesisStreamParameters.BuilderstartingPosition(String startingPosition)(Streams only) The position in a stream from which to start reading.PipeSourceKinesisStreamParameters.BuilderstartingPosition(KinesisStreamStartPosition startingPosition)(Streams only) The position in a stream from which to start reading.PipeSourceKinesisStreamParameters.BuilderstartingPositionTimestamp(Instant startingPositionTimestamp)WithStartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
batchSize
PipeSourceKinesisStreamParameters.Builder batchSize(Integer batchSize)
The maximum number of records to include in each batch.
- Parameters:
batchSize- The maximum number of records to include in each batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterConfig
PipeSourceKinesisStreamParameters.Builder deadLetterConfig(DeadLetterConfig deadLetterConfig)
Define the target queue to send dead-letter queue events to.
- Parameters:
deadLetterConfig- Define the target queue to send dead-letter queue events to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterConfig
default PipeSourceKinesisStreamParameters.Builder deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
Define the target queue to send dead-letter queue events to.
This is a convenience method that creates an instance of theDeadLetterConfig.Builderavoiding the need to create one manually viaDeadLetterConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeadLetterConfig(DeadLetterConfig).- Parameters:
deadLetterConfig- a consumer that will call methods onDeadLetterConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deadLetterConfig(DeadLetterConfig)
-
maximumBatchingWindowInSeconds
PipeSourceKinesisStreamParameters.Builder maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
- Parameters:
maximumBatchingWindowInSeconds- The maximum length of a time to wait for events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumRecordAgeInSeconds
PipeSourceKinesisStreamParameters.Builder maximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
- Parameters:
maximumRecordAgeInSeconds- (Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumRetryAttempts
PipeSourceKinesisStreamParameters.Builder maximumRetryAttempts(Integer maximumRetryAttempts)
(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
- Parameters:
maximumRetryAttempts- (Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPartialBatchItemFailure
PipeSourceKinesisStreamParameters.Builder onPartialBatchItemFailure(String onPartialBatchItemFailure)
(Streams only) Define how to handle item process failures.
AUTOMATIC_BISECThalves each batch and retry each half until all the records are processed or there is one failed message left in the batch.- Parameters:
onPartialBatchItemFailure- (Streams only) Define how to handle item process failures.AUTOMATIC_BISECThalves each batch and retry each half until all the records are processed or there is one failed message left in the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OnPartialBatchItemFailureStreams,OnPartialBatchItemFailureStreams
-
onPartialBatchItemFailure
PipeSourceKinesisStreamParameters.Builder onPartialBatchItemFailure(OnPartialBatchItemFailureStreams onPartialBatchItemFailure)
(Streams only) Define how to handle item process failures.
AUTOMATIC_BISECThalves each batch and retry each half until all the records are processed or there is one failed message left in the batch.- Parameters:
onPartialBatchItemFailure- (Streams only) Define how to handle item process failures.AUTOMATIC_BISECThalves each batch and retry each half until all the records are processed or there is one failed message left in the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OnPartialBatchItemFailureStreams,OnPartialBatchItemFailureStreams
-
parallelizationFactor
PipeSourceKinesisStreamParameters.Builder parallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
- Parameters:
parallelizationFactor- (Streams only) The number of batches to process concurrently from each shard. The default value is 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startingPosition
PipeSourceKinesisStreamParameters.Builder startingPosition(String startingPosition)
(Streams only) The position in a stream from which to start reading.
- Parameters:
startingPosition- (Streams only) The position in a stream from which to start reading.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KinesisStreamStartPosition,KinesisStreamStartPosition
-
startingPosition
PipeSourceKinesisStreamParameters.Builder startingPosition(KinesisStreamStartPosition startingPosition)
(Streams only) The position in a stream from which to start reading.
- Parameters:
startingPosition- (Streams only) The position in a stream from which to start reading.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KinesisStreamStartPosition,KinesisStreamStartPosition
-
startingPositionTimestamp
PipeSourceKinesisStreamParameters.Builder startingPositionTimestamp(Instant startingPositionTimestamp)
With
StartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.- Parameters:
startingPositionTimestamp- WithStartingPositionset toAT_TIMESTAMP, the time from which to start reading, in Unix time seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-