Struct aws_sdk_pipes::types::builders::UpdatePipeSourceManagedStreamingKafkaParametersBuilder
source · #[non_exhaustive]pub struct UpdatePipeSourceManagedStreamingKafkaParametersBuilder { /* private fields */ }
Expand description
A builder for UpdatePipeSourceManagedStreamingKafkaParameters
.
Implementations§
source§impl UpdatePipeSourceManagedStreamingKafkaParametersBuilder
impl UpdatePipeSourceManagedStreamingKafkaParametersBuilder
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 get_batch_size(&self) -> &Option<i32>
pub fn get_batch_size(&self) -> &Option<i32>
The maximum number of records to include in each batch.
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 get_credentials(&self) -> &Option<MskAccessCredentials>
pub fn get_credentials(&self) -> &Option<MskAccessCredentials>
The credentials needed to access the resource.
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 get_maximum_batching_window_in_seconds(&self) -> &Option<i32>
pub fn get_maximum_batching_window_in_seconds(&self) -> &Option<i32>
The maximum length of a time to wait for events.
sourcepub fn build(self) -> UpdatePipeSourceManagedStreamingKafkaParameters
pub fn build(self) -> UpdatePipeSourceManagedStreamingKafkaParameters
Consumes the builder and constructs a UpdatePipeSourceManagedStreamingKafkaParameters
.
Trait Implementations§
source§impl Clone for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
impl Clone for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
source§fn clone(&self) -> UpdatePipeSourceManagedStreamingKafkaParametersBuilder
fn clone(&self) -> UpdatePipeSourceManagedStreamingKafkaParametersBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
impl Default for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
source§fn default() -> UpdatePipeSourceManagedStreamingKafkaParametersBuilder
fn default() -> UpdatePipeSourceManagedStreamingKafkaParametersBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
impl PartialEq for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
source§fn eq(
&self,
other: &UpdatePipeSourceManagedStreamingKafkaParametersBuilder
) -> bool
fn eq( &self, other: &UpdatePipeSourceManagedStreamingKafkaParametersBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
impl Send for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
impl Sync for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
impl Unpin for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
impl UnwindSafe for UpdatePipeSourceManagedStreamingKafkaParametersBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.