@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePipeSourceKinesisStreamParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using a Kinesis stream as a source.
Constructor and Description |
---|
UpdatePipeSourceKinesisStreamParameters() |
Modifier and Type | Method and Description |
---|---|
UpdatePipeSourceKinesisStreamParameters |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
The maximum number of records to include in each batch.
|
DeadLetterConfig |
getDeadLetterConfig()
Define the target queue to send dead-letter queue events to.
|
Integer |
getMaximumBatchingWindowInSeconds()
The maximum length of a time to wait for events.
|
Integer |
getMaximumRecordAgeInSeconds()
(Streams only) Discard records older than the specified age.
|
Integer |
getMaximumRetryAttempts()
(Streams only) Discard records after the specified number of retries.
|
String |
getOnPartialBatchItemFailure()
(Streams only) Define how to handle item process failures.
|
Integer |
getParallelizationFactor()
(Streams only) The number of batches to process concurrently from each shard.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
|
void |
setDeadLetterConfig(DeadLetterConfig deadLetterConfig)
Define the target queue to send dead-letter queue events to.
|
void |
setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
|
void |
setMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams only) Discard records older than the specified age.
|
void |
setMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams only) Discard records after the specified number of retries.
|
void |
setOnPartialBatchItemFailure(String onPartialBatchItemFailure)
(Streams only) Define how to handle item process failures.
|
void |
setParallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process concurrently from each shard.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePipeSourceKinesisStreamParameters |
withBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
|
UpdatePipeSourceKinesisStreamParameters |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
Define the target queue to send dead-letter queue events to.
|
UpdatePipeSourceKinesisStreamParameters |
withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
|
UpdatePipeSourceKinesisStreamParameters |
withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams only) Discard records older than the specified age.
|
UpdatePipeSourceKinesisStreamParameters |
withMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams only) Discard records after the specified number of retries.
|
UpdatePipeSourceKinesisStreamParameters |
withOnPartialBatchItemFailure(OnPartialBatchItemFailureStreams onPartialBatchItemFailure)
(Streams only) Define how to handle item process failures.
|
UpdatePipeSourceKinesisStreamParameters |
withOnPartialBatchItemFailure(String onPartialBatchItemFailure)
(Streams only) Define how to handle item process failures.
|
UpdatePipeSourceKinesisStreamParameters |
withParallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process concurrently from each shard.
|
public UpdatePipeSourceKinesisStreamParameters()
public void setBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
batchSize
- The maximum number of records to include in each batch.public Integer getBatchSize()
The maximum number of records to include in each batch.
public UpdatePipeSourceKinesisStreamParameters withBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
batchSize
- The maximum number of records to include in each batch.public void setDeadLetterConfig(DeadLetterConfig deadLetterConfig)
Define the target queue to send dead-letter queue events to.
deadLetterConfig
- Define the target queue to send dead-letter queue events to.public DeadLetterConfig getDeadLetterConfig()
Define the target queue to send dead-letter queue events to.
public UpdatePipeSourceKinesisStreamParameters withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
Define the target queue to send dead-letter queue events to.
deadLetterConfig
- Define the target queue to send dead-letter queue events to.public void setOnPartialBatchItemFailure(String 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.
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.OnPartialBatchItemFailureStreams
public String getOnPartialBatchItemFailure()
(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.
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.OnPartialBatchItemFailureStreams
public UpdatePipeSourceKinesisStreamParameters withOnPartialBatchItemFailure(String 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.
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.OnPartialBatchItemFailureStreams
public UpdatePipeSourceKinesisStreamParameters withOnPartialBatchItemFailure(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.
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.OnPartialBatchItemFailureStreams
public void setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
maximumBatchingWindowInSeconds
- The maximum length of a time to wait for events.public Integer getMaximumBatchingWindowInSeconds()
The maximum length of a time to wait for events.
public UpdatePipeSourceKinesisStreamParameters withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
maximumBatchingWindowInSeconds
- The maximum length of a time to wait for events.public void setMaximumRecordAgeInSeconds(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.
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 Integer getMaximumRecordAgeInSeconds()
(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 UpdatePipeSourceKinesisStreamParameters withMaximumRecordAgeInSeconds(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.
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 void setMaximumRetryAttempts(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.
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 Integer getMaximumRetryAttempts()
(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 UpdatePipeSourceKinesisStreamParameters withMaximumRetryAttempts(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.
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 void setParallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
parallelizationFactor
- (Streams only) The number of batches to process concurrently from each shard. The default value is 1.public Integer getParallelizationFactor()
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
public UpdatePipeSourceKinesisStreamParameters withParallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
parallelizationFactor
- (Streams only) The number of batches to process concurrently from each shard. The default value is 1.public String toString()
toString
in class Object
Object.toString()
public UpdatePipeSourceKinesisStreamParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.