Struct aws_sdk_apptest::types::builders::DatabaseCdcBuilder
source · #[non_exhaustive]pub struct DatabaseCdcBuilder { /* private fields */ }
Expand description
A builder for DatabaseCdc
.
Implementations§
source§impl DatabaseCdcBuilder
impl DatabaseCdcBuilder
sourcepub fn source_metadata(self, input: SourceDatabaseMetadata) -> Self
pub fn source_metadata(self, input: SourceDatabaseMetadata) -> Self
The source metadata of the database CDC.
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 database CDC.
sourcepub fn get_source_metadata(&self) -> &Option<SourceDatabaseMetadata>
pub fn get_source_metadata(&self) -> &Option<SourceDatabaseMetadata>
The source metadata of the database CDC.
sourcepub fn target_metadata(self, input: TargetDatabaseMetadata) -> Self
pub fn target_metadata(self, input: TargetDatabaseMetadata) -> Self
The target metadata of the database CDC.
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 of the database CDC.
sourcepub fn get_target_metadata(&self) -> &Option<TargetDatabaseMetadata>
pub fn get_target_metadata(&self) -> &Option<TargetDatabaseMetadata>
The target metadata of the database CDC.
sourcepub fn build(self) -> DatabaseCdc
pub fn build(self) -> DatabaseCdc
Consumes the builder and constructs a DatabaseCdc
.
Trait Implementations§
source§impl Clone for DatabaseCdcBuilder
impl Clone for DatabaseCdcBuilder
source§fn clone(&self) -> DatabaseCdcBuilder
fn clone(&self) -> DatabaseCdcBuilder
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 DatabaseCdcBuilder
impl Debug for DatabaseCdcBuilder
source§impl Default for DatabaseCdcBuilder
impl Default for DatabaseCdcBuilder
source§fn default() -> DatabaseCdcBuilder
fn default() -> DatabaseCdcBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DatabaseCdcBuilder
impl PartialEq for DatabaseCdcBuilder
source§fn eq(&self, other: &DatabaseCdcBuilder) -> bool
fn eq(&self, other: &DatabaseCdcBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatabaseCdcBuilder
Auto Trait Implementations§
impl Freeze for DatabaseCdcBuilder
impl RefUnwindSafe for DatabaseCdcBuilder
impl Send for DatabaseCdcBuilder
impl Sync for DatabaseCdcBuilder
impl Unpin for DatabaseCdcBuilder
impl UnwindSafe for DatabaseCdcBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.