@Generated(value="software.amazon.awssdk:codegen") public final class PipeSourceManagedStreamingKafkaParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipeSourceManagedStreamingKafkaParameters.Builder,PipeSourceManagedStreamingKafkaParameters>
The parameters for using an MSK stream as a source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PipeSourceManagedStreamingKafkaParameters.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
batchSize()
The maximum number of records to include in each batch.
|
static PipeSourceManagedStreamingKafkaParameters.Builder |
builder() |
String |
consumerGroupID()
The name of the destination queue to consume.
|
MSKAccessCredentials |
credentials()
The credentials needed to access the resource.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PipeSourceManagedStreamingKafkaParameters.Builder> |
serializableBuilderClass() |
MSKStartPosition |
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.
|
PipeSourceManagedStreamingKafkaParameters.Builder |
toBuilder() |
String |
topicName()
The name of the topic that the pipe will read from.
|
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 String consumerGroupID()
The name of the destination queue to consume.
public final MSKAccessCredentials credentials()
The credentials needed to access the resource.
public final Integer maximumBatchingWindowInSeconds()
The maximum length of a time to wait for events.
public final MSKStartPosition 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 MSKStartPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from startingPositionAsString().
MSKStartPositionpublic 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 MSKStartPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from startingPositionAsString().
MSKStartPositionpublic final String topicName()
The name of the topic that the pipe will read from.
public PipeSourceManagedStreamingKafkaParameters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PipeSourceManagedStreamingKafkaParameters.Builder,PipeSourceManagedStreamingKafkaParameters>public static PipeSourceManagedStreamingKafkaParameters.Builder builder()
public static Class<? extends PipeSourceManagedStreamingKafkaParameters.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.