@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipeSourceManagedStreamingKafkaParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using an MSK stream as a source.
Constructor and Description |
---|
PipeSourceManagedStreamingKafkaParameters() |
Modifier and Type | Method and Description |
---|---|
PipeSourceManagedStreamingKafkaParameters |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
The maximum number of records to include in each batch.
|
String |
getConsumerGroupID()
The name of the destination queue to consume.
|
MSKAccessCredentials |
getCredentials()
The credentials needed to access the resource.
|
Integer |
getMaximumBatchingWindowInSeconds()
The maximum length of a time to wait for events.
|
String |
getStartingPosition()
(Streams only) The position in a stream from which to start reading.
|
String |
getTopicName()
The name of the topic that the pipe will read from.
|
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 |
setConsumerGroupID(String consumerGroupID)
The name of the destination queue to consume.
|
void |
setCredentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
|
void |
setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
|
void |
setStartingPosition(String startingPosition)
(Streams only) The position in a stream from which to start reading.
|
void |
setTopicName(String topicName)
The name of the topic that the pipe will read from.
|
String |
toString()
Returns a string representation of this object.
|
PipeSourceManagedStreamingKafkaParameters |
withBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
|
PipeSourceManagedStreamingKafkaParameters |
withConsumerGroupID(String consumerGroupID)
The name of the destination queue to consume.
|
PipeSourceManagedStreamingKafkaParameters |
withCredentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
|
PipeSourceManagedStreamingKafkaParameters |
withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
|
PipeSourceManagedStreamingKafkaParameters |
withStartingPosition(MSKStartPosition startingPosition)
(Streams only) The position in a stream from which to start reading.
|
PipeSourceManagedStreamingKafkaParameters |
withStartingPosition(String startingPosition)
(Streams only) The position in a stream from which to start reading.
|
PipeSourceManagedStreamingKafkaParameters |
withTopicName(String topicName)
The name of the topic that the pipe will read from.
|
public PipeSourceManagedStreamingKafkaParameters()
public void setTopicName(String topicName)
The name of the topic that the pipe will read from.
topicName
- The name of the topic that the pipe will read from.public String getTopicName()
The name of the topic that the pipe will read from.
public PipeSourceManagedStreamingKafkaParameters withTopicName(String topicName)
The name of the topic that the pipe will read from.
topicName
- The name of the topic that the pipe will read from.public void setStartingPosition(String startingPosition)
(Streams only) The position in a stream from which to start reading.
startingPosition
- (Streams only) The position in a stream from which to start reading.MSKStartPosition
public String getStartingPosition()
(Streams only) The position in a stream from which to start reading.
MSKStartPosition
public PipeSourceManagedStreamingKafkaParameters withStartingPosition(String startingPosition)
(Streams only) The position in a stream from which to start reading.
startingPosition
- (Streams only) The position in a stream from which to start reading.MSKStartPosition
public PipeSourceManagedStreamingKafkaParameters withStartingPosition(MSKStartPosition startingPosition)
(Streams only) The position in a stream from which to start reading.
startingPosition
- (Streams only) The position in a stream from which to start reading.MSKStartPosition
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 PipeSourceManagedStreamingKafkaParameters 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 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 PipeSourceManagedStreamingKafkaParameters 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 setConsumerGroupID(String consumerGroupID)
The name of the destination queue to consume.
consumerGroupID
- The name of the destination queue to consume.public String getConsumerGroupID()
The name of the destination queue to consume.
public PipeSourceManagedStreamingKafkaParameters withConsumerGroupID(String consumerGroupID)
The name of the destination queue to consume.
consumerGroupID
- The name of the destination queue to consume.public void setCredentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
credentials
- The credentials needed to access the resource.public MSKAccessCredentials getCredentials()
The credentials needed to access the resource.
public PipeSourceManagedStreamingKafkaParameters withCredentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
credentials
- The credentials needed to access the resource.public String toString()
toString
in class Object
Object.toString()
public PipeSourceManagedStreamingKafkaParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.