#[non_exhaustive]pub struct CompareDatabaseCdcStepInputBuilder { /* private fields */ }
Expand description
A builder for CompareDatabaseCdcStepInput
.
Implementations§
source§impl CompareDatabaseCdcStepInputBuilder
impl CompareDatabaseCdcStepInputBuilder
sourcepub fn source_location(self, input: impl Into<String>) -> Self
pub fn source_location(self, input: impl Into<String>) -> Self
The source location of the compare database CDC step input.
This field is required.sourcepub fn set_source_location(self, input: Option<String>) -> Self
pub fn set_source_location(self, input: Option<String>) -> Self
The source location of the compare database CDC step input.
sourcepub fn get_source_location(&self) -> &Option<String>
pub fn get_source_location(&self) -> &Option<String>
The source location of the compare database CDC step input.
sourcepub fn target_location(self, input: impl Into<String>) -> Self
pub fn target_location(self, input: impl Into<String>) -> Self
The target location of the compare database CDC step input.
This field is required.sourcepub fn set_target_location(self, input: Option<String>) -> Self
pub fn set_target_location(self, input: Option<String>) -> Self
The target location of the compare database CDC step input.
sourcepub fn get_target_location(&self) -> &Option<String>
pub fn get_target_location(&self) -> &Option<String>
The target location of the compare database CDC step input.
sourcepub fn output_location(self, input: impl Into<String>) -> Self
pub fn output_location(self, input: impl Into<String>) -> Self
The output location of the compare database CDC step input.
sourcepub fn set_output_location(self, input: Option<String>) -> Self
pub fn set_output_location(self, input: Option<String>) -> Self
The output location of the compare database CDC step input.
sourcepub fn get_output_location(&self) -> &Option<String>
pub fn get_output_location(&self) -> &Option<String>
The output location of the compare database CDC step input.
sourcepub fn source_metadata(self, input: SourceDatabaseMetadata) -> Self
pub fn source_metadata(self, input: SourceDatabaseMetadata) -> Self
The source metadata of the compare database CDC step input.
This field is required.sourcepub fn set_source_metadata(self, input: Option<SourceDatabaseMetadata>) -> Self
pub fn set_source_metadata(self, input: Option<SourceDatabaseMetadata>) -> Self
The source metadata of the compare database CDC step input.
sourcepub fn get_source_metadata(&self) -> &Option<SourceDatabaseMetadata>
pub fn get_source_metadata(&self) -> &Option<SourceDatabaseMetadata>
The source metadata of the compare database CDC step input.
sourcepub fn target_metadata(self, input: TargetDatabaseMetadata) -> Self
pub fn target_metadata(self, input: TargetDatabaseMetadata) -> Self
The target metadata location of the compare database CDC step input.
This field is required.sourcepub fn set_target_metadata(self, input: Option<TargetDatabaseMetadata>) -> Self
pub fn set_target_metadata(self, input: Option<TargetDatabaseMetadata>) -> Self
The target metadata location of the compare database CDC step input.
sourcepub fn get_target_metadata(&self) -> &Option<TargetDatabaseMetadata>
pub fn get_target_metadata(&self) -> &Option<TargetDatabaseMetadata>
The target metadata location of the compare database CDC step input.
sourcepub fn build(self) -> Result<CompareDatabaseCdcStepInput, BuildError>
pub fn build(self) -> Result<CompareDatabaseCdcStepInput, BuildError>
Consumes the builder and constructs a CompareDatabaseCdcStepInput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CompareDatabaseCdcStepInputBuilder
impl Clone for CompareDatabaseCdcStepInputBuilder
source§fn clone(&self) -> CompareDatabaseCdcStepInputBuilder
fn clone(&self) -> CompareDatabaseCdcStepInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CompareDatabaseCdcStepInputBuilder
impl Default for CompareDatabaseCdcStepInputBuilder
source§fn default() -> CompareDatabaseCdcStepInputBuilder
fn default() -> CompareDatabaseCdcStepInputBuilder
source§impl PartialEq for CompareDatabaseCdcStepInputBuilder
impl PartialEq for CompareDatabaseCdcStepInputBuilder
source§fn eq(&self, other: &CompareDatabaseCdcStepInputBuilder) -> bool
fn eq(&self, other: &CompareDatabaseCdcStepInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CompareDatabaseCdcStepInputBuilder
Auto Trait Implementations§
impl Freeze for CompareDatabaseCdcStepInputBuilder
impl RefUnwindSafe for CompareDatabaseCdcStepInputBuilder
impl Send for CompareDatabaseCdcStepInputBuilder
impl Sync for CompareDatabaseCdcStepInputBuilder
impl Unpin for CompareDatabaseCdcStepInputBuilder
impl UnwindSafe for CompareDatabaseCdcStepInputBuilder
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