#[non_exhaustive]pub struct PipeSourceSelfManagedKafkaParametersBuilder { /* private fields */ }Expand description
A builder for PipeSourceSelfManagedKafkaParameters.
Implementations§
source§impl PipeSourceSelfManagedKafkaParametersBuilder
impl PipeSourceSelfManagedKafkaParametersBuilder
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.
This field is required.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 get_topic_name(&self) -> &Option<String>
pub fn get_topic_name(&self) -> &Option<String>
The name of the topic that the pipe will read from.
sourcepub fn starting_position(self, input: SelfManagedKafkaStartPosition) -> Self
pub fn starting_position(self, input: SelfManagedKafkaStartPosition) -> Self
(Streams only) The position in a stream from which to start reading.
sourcepub fn set_starting_position(
self,
input: Option<SelfManagedKafkaStartPosition>,
) -> Self
pub fn set_starting_position( self, input: Option<SelfManagedKafkaStartPosition>, ) -> Self
(Streams only) The position in a stream from which to start reading.
sourcepub fn get_starting_position(&self) -> &Option<SelfManagedKafkaStartPosition>
pub fn get_starting_position(&self) -> &Option<SelfManagedKafkaStartPosition>
(Streams only) The position in a stream from which to start reading.
sourcepub fn additional_bootstrap_servers(self, input: impl Into<String>) -> Self
pub fn additional_bootstrap_servers(self, input: impl Into<String>) -> Self
Appends an item to additional_bootstrap_servers.
To override the contents of this collection use set_additional_bootstrap_servers.
An array of server URLs.
sourcepub fn set_additional_bootstrap_servers(
self,
input: Option<Vec<String>>,
) -> Self
pub fn set_additional_bootstrap_servers( self, input: Option<Vec<String>>, ) -> Self
An array of server URLs.
sourcepub fn get_additional_bootstrap_servers(&self) -> &Option<Vec<String>>
pub fn get_additional_bootstrap_servers(&self) -> &Option<Vec<String>>
An array of server URLs.
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 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 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 get_consumer_group_id(&self) -> &Option<String>
pub fn get_consumer_group_id(&self) -> &Option<String>
The name of the destination queue to consume.
sourcepub fn credentials(
self,
input: SelfManagedKafkaAccessConfigurationCredentials,
) -> Self
pub fn credentials( self, input: SelfManagedKafkaAccessConfigurationCredentials, ) -> Self
The credentials needed to access the resource.
sourcepub fn set_credentials(
self,
input: Option<SelfManagedKafkaAccessConfigurationCredentials>,
) -> Self
pub fn set_credentials( self, input: Option<SelfManagedKafkaAccessConfigurationCredentials>, ) -> Self
The credentials needed to access the resource.
sourcepub fn get_credentials(
&self,
) -> &Option<SelfManagedKafkaAccessConfigurationCredentials>
pub fn get_credentials( &self, ) -> &Option<SelfManagedKafkaAccessConfigurationCredentials>
The credentials needed to access the resource.
sourcepub fn server_root_ca_certificate(self, input: impl Into<String>) -> Self
pub fn server_root_ca_certificate(self, input: impl Into<String>) -> Self
The ARN of the Secrets Manager secret used for certification.
sourcepub fn set_server_root_ca_certificate(self, input: Option<String>) -> Self
pub fn set_server_root_ca_certificate(self, input: Option<String>) -> Self
The ARN of the Secrets Manager secret used for certification.
sourcepub fn get_server_root_ca_certificate(&self) -> &Option<String>
pub fn get_server_root_ca_certificate(&self) -> &Option<String>
The ARN of the Secrets Manager secret used for certification.
sourcepub fn vpc(self, input: SelfManagedKafkaAccessConfigurationVpc) -> Self
pub fn vpc(self, input: SelfManagedKafkaAccessConfigurationVpc) -> Self
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
sourcepub fn set_vpc(
self,
input: Option<SelfManagedKafkaAccessConfigurationVpc>,
) -> Self
pub fn set_vpc( self, input: Option<SelfManagedKafkaAccessConfigurationVpc>, ) -> Self
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
sourcepub fn get_vpc(&self) -> &Option<SelfManagedKafkaAccessConfigurationVpc>
pub fn get_vpc(&self) -> &Option<SelfManagedKafkaAccessConfigurationVpc>
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
sourcepub fn build(self) -> Result<PipeSourceSelfManagedKafkaParameters, BuildError>
pub fn build(self) -> Result<PipeSourceSelfManagedKafkaParameters, BuildError>
Consumes the builder and constructs a PipeSourceSelfManagedKafkaParameters.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PipeSourceSelfManagedKafkaParametersBuilder
impl Clone for PipeSourceSelfManagedKafkaParametersBuilder
source§fn clone(&self) -> PipeSourceSelfManagedKafkaParametersBuilder
fn clone(&self) -> PipeSourceSelfManagedKafkaParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PipeSourceSelfManagedKafkaParametersBuilder
impl Default for PipeSourceSelfManagedKafkaParametersBuilder
source§fn default() -> PipeSourceSelfManagedKafkaParametersBuilder
fn default() -> PipeSourceSelfManagedKafkaParametersBuilder
source§impl PartialEq for PipeSourceSelfManagedKafkaParametersBuilder
impl PartialEq for PipeSourceSelfManagedKafkaParametersBuilder
source§fn eq(&self, other: &PipeSourceSelfManagedKafkaParametersBuilder) -> bool
fn eq(&self, other: &PipeSourceSelfManagedKafkaParametersBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PipeSourceSelfManagedKafkaParametersBuilder
Auto Trait Implementations§
impl Freeze for PipeSourceSelfManagedKafkaParametersBuilder
impl RefUnwindSafe for PipeSourceSelfManagedKafkaParametersBuilder
impl Send for PipeSourceSelfManagedKafkaParametersBuilder
impl Sync for PipeSourceSelfManagedKafkaParametersBuilder
impl Unpin for PipeSourceSelfManagedKafkaParametersBuilder
impl UnwindSafe for PipeSourceSelfManagedKafkaParametersBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more