@Generated(value="software.amazon.awssdk:codegen") public final class PipeSourceKinesisStreamParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipeSourceKinesisStreamParameters.Builder,PipeSourceKinesisStreamParameters>
The parameters for using a Kinesis stream as a source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PipeSourceKinesisStreamParameters.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
batchSize()
The maximum number of records to include in each batch.
|
static PipeSourceKinesisStreamParameters.Builder |
builder() |
DeadLetterConfig |
deadLetterConfig()
Define the target queue to send dead-letter queue events to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maximumBatchingWindowInSeconds()
The maximum length of a time to wait for events.
|
Integer |
maximumRecordAgeInSeconds()
(Streams only) Discard records older than the specified age.
|
Integer |
maximumRetryAttempts()
(Streams only) Discard records after the specified number of retries.
|
OnPartialBatchItemFailureStreams |
onPartialBatchItemFailure()
(Streams only) Define how to handle item process failures.
|
String |
onPartialBatchItemFailureAsString()
(Streams only) Define how to handle item process failures.
|
Integer |
parallelizationFactor()
(Streams only) The number of batches to process concurrently from each shard.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PipeSourceKinesisStreamParameters.Builder> |
serializableBuilderClass() |
KinesisStreamStartPosition |
startingPosition()
(Streams only) The position in a stream from which to start reading.
|
String |
startingPositionAsString()
(Streams only) The position in a stream from which to start reading.
|
Instant |
startingPositionTimestamp()
With
StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in
Unix time seconds. |
PipeSourceKinesisStreamParameters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer batchSize()
The maximum number of records to include in each batch.
public final DeadLetterConfig deadLetterConfig()
Define the target queue to send dead-letter queue events to.
public final Integer maximumBatchingWindowInSeconds()
The maximum length of a time to wait for events.
public final 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.
public final 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.
public final OnPartialBatchItemFailureStreams onPartialBatchItemFailure()
(Streams only) Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and
retry each half until all the records are processed or there is one failed message left in the batch.
If the service returns an enum value that is not available in the current SDK version,
onPartialBatchItemFailure will return OnPartialBatchItemFailureStreams.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from onPartialBatchItemFailureAsString().
AUTOMATIC_BISECT halves each
batch and retry each half until all the records are processed or there is one failed message left in the
batch.OnPartialBatchItemFailureStreamspublic final String onPartialBatchItemFailureAsString()
(Streams only) Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and
retry each half until all the records are processed or there is one failed message left in the batch.
If the service returns an enum value that is not available in the current SDK version,
onPartialBatchItemFailure will return OnPartialBatchItemFailureStreams.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from onPartialBatchItemFailureAsString().
AUTOMATIC_BISECT halves each
batch and retry each half until all the records are processed or there is one failed message left in the
batch.OnPartialBatchItemFailureStreamspublic final Integer parallelizationFactor()
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
public final KinesisStreamStartPosition startingPosition()
(Streams only) The position in a stream from which to start reading.
If the service returns an enum value that is not available in the current SDK version, startingPosition
will return KinesisStreamStartPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from startingPositionAsString().
KinesisStreamStartPositionpublic final String startingPositionAsString()
(Streams only) The position in a stream from which to start reading.
If the service returns an enum value that is not available in the current SDK version, startingPosition
will return KinesisStreamStartPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from startingPositionAsString().
KinesisStreamStartPositionpublic final Instant startingPositionTimestamp()
With StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in
Unix time seconds.
StartingPosition set to AT_TIMESTAMP, the time from which to start
reading, in Unix time seconds.public PipeSourceKinesisStreamParameters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PipeSourceKinesisStreamParameters.Builder,PipeSourceKinesisStreamParameters>public static PipeSourceKinesisStreamParameters.Builder builder()
public static Class<? extends PipeSourceKinesisStreamParameters.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.