#[non_exhaustive]pub struct SqlRunConfigurationBuilder { /* private fields */ }Expand description
A builder for SqlRunConfiguration.
Implementations§
source§impl SqlRunConfigurationBuilder
impl SqlRunConfigurationBuilder
sourcepub fn input_id(self, input: impl Into<String>) -> Self
pub fn input_id(self, input: impl Into<String>) -> Self
The input source ID. You can get this ID by calling the DescribeApplication operation.
sourcepub fn set_input_id(self, input: Option<String>) -> Self
pub fn set_input_id(self, input: Option<String>) -> Self
The input source ID. You can get this ID by calling the DescribeApplication operation.
sourcepub fn get_input_id(&self) -> &Option<String>
pub fn get_input_id(&self) -> &Option<String>
The input source ID. You can get this ID by calling the DescribeApplication operation.
sourcepub fn input_starting_position_configuration(
self,
input: InputStartingPositionConfiguration
) -> Self
pub fn input_starting_position_configuration( self, input: InputStartingPositionConfiguration ) -> Self
The point at which you want the application to start processing records from the streaming source.
This field is required.sourcepub fn set_input_starting_position_configuration(
self,
input: Option<InputStartingPositionConfiguration>
) -> Self
pub fn set_input_starting_position_configuration( self, input: Option<InputStartingPositionConfiguration> ) -> Self
The point at which you want the application to start processing records from the streaming source.
sourcepub fn get_input_starting_position_configuration(
&self
) -> &Option<InputStartingPositionConfiguration>
pub fn get_input_starting_position_configuration( &self ) -> &Option<InputStartingPositionConfiguration>
The point at which you want the application to start processing records from the streaming source.
sourcepub fn build(self) -> Result<SqlRunConfiguration, BuildError>
pub fn build(self) -> Result<SqlRunConfiguration, BuildError>
Consumes the builder and constructs a SqlRunConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SqlRunConfigurationBuilder
impl Clone for SqlRunConfigurationBuilder
source§fn clone(&self) -> SqlRunConfigurationBuilder
fn clone(&self) -> SqlRunConfigurationBuilder
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 Debug for SqlRunConfigurationBuilder
impl Debug for SqlRunConfigurationBuilder
source§impl Default for SqlRunConfigurationBuilder
impl Default for SqlRunConfigurationBuilder
source§fn default() -> SqlRunConfigurationBuilder
fn default() -> SqlRunConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SqlRunConfigurationBuilder
impl PartialEq for SqlRunConfigurationBuilder
source§fn eq(&self, other: &SqlRunConfigurationBuilder) -> bool
fn eq(&self, other: &SqlRunConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SqlRunConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SqlRunConfigurationBuilder
impl Send for SqlRunConfigurationBuilder
impl Sync for SqlRunConfigurationBuilder
impl Unpin for SqlRunConfigurationBuilder
impl UnwindSafe for SqlRunConfigurationBuilder
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.