#[non_exhaustive]pub struct PipeSourceActiveMqBrokerParametersBuilder { /* private fields */ }Expand description
A builder for PipeSourceActiveMqBrokerParameters.
Implementations§
source§impl PipeSourceActiveMqBrokerParametersBuilder
impl PipeSourceActiveMqBrokerParametersBuilder
sourcepub fn credentials(self, input: MqBrokerAccessCredentials) -> Self
pub fn credentials(self, input: MqBrokerAccessCredentials) -> Self
The credentials needed to access the resource.
sourcepub fn set_credentials(self, input: Option<MqBrokerAccessCredentials>) -> Self
pub fn set_credentials(self, input: Option<MqBrokerAccessCredentials>) -> Self
The credentials needed to access the resource.
sourcepub fn get_credentials(&self) -> &Option<MqBrokerAccessCredentials>
pub fn get_credentials(&self) -> &Option<MqBrokerAccessCredentials>
The credentials needed to access the resource.
sourcepub fn queue_name(self, input: impl Into<String>) -> Self
pub fn queue_name(self, input: impl Into<String>) -> Self
The name of the destination queue to consume.
sourcepub fn set_queue_name(self, input: Option<String>) -> Self
pub fn set_queue_name(self, input: Option<String>) -> Self
The name of the destination queue to consume.
sourcepub fn get_queue_name(&self) -> &Option<String>
pub fn get_queue_name(&self) -> &Option<String>
The name of the destination queue to consume.
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 build(self) -> PipeSourceActiveMqBrokerParameters
pub fn build(self) -> PipeSourceActiveMqBrokerParameters
Consumes the builder and constructs a PipeSourceActiveMqBrokerParameters.
Trait Implementations§
source§impl Clone for PipeSourceActiveMqBrokerParametersBuilder
impl Clone for PipeSourceActiveMqBrokerParametersBuilder
source§fn clone(&self) -> PipeSourceActiveMqBrokerParametersBuilder
fn clone(&self) -> PipeSourceActiveMqBrokerParametersBuilder
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 PipeSourceActiveMqBrokerParametersBuilder
impl Default for PipeSourceActiveMqBrokerParametersBuilder
source§fn default() -> PipeSourceActiveMqBrokerParametersBuilder
fn default() -> PipeSourceActiveMqBrokerParametersBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PipeSourceActiveMqBrokerParametersBuilder> for PipeSourceActiveMqBrokerParametersBuilder
impl PartialEq<PipeSourceActiveMqBrokerParametersBuilder> for PipeSourceActiveMqBrokerParametersBuilder
source§fn eq(&self, other: &PipeSourceActiveMqBrokerParametersBuilder) -> bool
fn eq(&self, other: &PipeSourceActiveMqBrokerParametersBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PipeSourceActiveMqBrokerParametersBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PipeSourceActiveMqBrokerParametersBuilder
impl Send for PipeSourceActiveMqBrokerParametersBuilder
impl Sync for PipeSourceActiveMqBrokerParametersBuilder
impl Unpin for PipeSourceActiveMqBrokerParametersBuilder
impl UnwindSafe for PipeSourceActiveMqBrokerParametersBuilder
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