Class PipeSourceKinesisStreamParameters

    • Method Detail

      • batchSize

        public final Integer batchSize()

        The maximum number of records to include in each batch.

        Returns:
        The maximum number of records to include in each batch.
      • deadLetterConfig

        public final DeadLetterConfig deadLetterConfig()

        Define the target queue to send dead-letter queue events to.

        Returns:
        Define the target queue to send dead-letter queue events to.
      • maximumBatchingWindowInSeconds

        public final Integer maximumBatchingWindowInSeconds()

        The maximum length of a time to wait for events.

        Returns:
        The maximum length of a time to wait for events.
      • maximumRecordAgeInSeconds

        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.

        Returns:
        (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.
      • maximumRetryAttempts

        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.

        Returns:
        (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.
      • onPartialBatchItemFailureAsString

        public 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().

        Returns:
        (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.
        See Also:
        OnPartialBatchItemFailureStreams
      • parallelizationFactor

        public final Integer parallelizationFactor()

        (Streams only) The number of batches to process concurrently from each shard. The default value is 1.

        Returns:
        (Streams only) The number of batches to process concurrently from each shard. The default value is 1.
      • startingPositionTimestamp

        public final Instant startingPositionTimestamp()

        With StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in Unix time seconds.

        Returns:
        With StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in Unix time seconds.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)