#[non_exhaustive]pub struct PipeSourceManagedStreamingKafkaParametersBuilder { /* private fields */ }
Expand description
A builder for PipeSourceManagedStreamingKafkaParameters
.
Implementations§
source§impl PipeSourceManagedStreamingKafkaParametersBuilder
impl PipeSourceManagedStreamingKafkaParametersBuilder
sourcepub fn topic_name(self, input: impl Into<String>) -> Self
pub fn topic_name(self, input: impl Into<String>) -> Self
The name of the topic that the pipe will read from.
sourcepub fn set_topic_name(self, input: Option<String>) -> Self
pub fn set_topic_name(self, input: Option<String>) -> Self
The name of the topic that the pipe will read from.
sourcepub fn starting_position(self, input: MskStartPosition) -> Self
pub fn starting_position(self, input: MskStartPosition) -> Self
(Streams only) The position in a stream from which to start reading.
sourcepub fn set_starting_position(self, input: Option<MskStartPosition>) -> Self
pub fn set_starting_position(self, input: Option<MskStartPosition>) -> Self
(Streams only) The position in a stream from which to start reading.
sourcepub fn batch_size(self, input: i32) -> Self
pub fn batch_size(self, input: i32) -> Self
The maximum number of records to include in each batch.
sourcepub fn set_batch_size(self, input: Option<i32>) -> Self
pub fn set_batch_size(self, input: Option<i32>) -> Self
The maximum number of records to include in each batch.
sourcepub fn maximum_batching_window_in_seconds(self, input: i32) -> Self
pub fn maximum_batching_window_in_seconds(self, input: i32) -> Self
The maximum length of a time to wait for events.
sourcepub fn set_maximum_batching_window_in_seconds(self, input: Option<i32>) -> Self
pub fn set_maximum_batching_window_in_seconds(self, input: Option<i32>) -> Self
The maximum length of a time to wait for events.
sourcepub fn consumer_group_id(self, input: impl Into<String>) -> Self
pub fn consumer_group_id(self, input: impl Into<String>) -> Self
The name of the destination queue to consume.
sourcepub fn set_consumer_group_id(self, input: Option<String>) -> Self
pub fn set_consumer_group_id(self, input: Option<String>) -> Self
The name of the destination queue to consume.
sourcepub fn credentials(self, input: MskAccessCredentials) -> Self
pub fn credentials(self, input: MskAccessCredentials) -> Self
The credentials needed to access the resource.
sourcepub fn set_credentials(self, input: Option<MskAccessCredentials>) -> Self
pub fn set_credentials(self, input: Option<MskAccessCredentials>) -> Self
The credentials needed to access the resource.
sourcepub fn build(self) -> PipeSourceManagedStreamingKafkaParameters
pub fn build(self) -> PipeSourceManagedStreamingKafkaParameters
Consumes the builder and constructs a PipeSourceManagedStreamingKafkaParameters
.
Trait Implementations§
source§impl Clone for PipeSourceManagedStreamingKafkaParametersBuilder
impl Clone for PipeSourceManagedStreamingKafkaParametersBuilder
source§fn clone(&self) -> PipeSourceManagedStreamingKafkaParametersBuilder
fn clone(&self) -> PipeSourceManagedStreamingKafkaParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipeSourceManagedStreamingKafkaParametersBuilder
impl Default for PipeSourceManagedStreamingKafkaParametersBuilder
source§fn default() -> PipeSourceManagedStreamingKafkaParametersBuilder
fn default() -> PipeSourceManagedStreamingKafkaParametersBuilder
source§impl PartialEq<PipeSourceManagedStreamingKafkaParametersBuilder> for PipeSourceManagedStreamingKafkaParametersBuilder
impl PartialEq<PipeSourceManagedStreamingKafkaParametersBuilder> for PipeSourceManagedStreamingKafkaParametersBuilder
source§fn eq(&self, other: &PipeSourceManagedStreamingKafkaParametersBuilder) -> bool
fn eq(&self, other: &PipeSourceManagedStreamingKafkaParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.