Struct aws_sdk_glue::types::builders::MongoDbTargetBuilder
source · #[non_exhaustive]pub struct MongoDbTargetBuilder { /* private fields */ }
Expand description
A builder for MongoDbTarget
.
Implementations§
source§impl MongoDbTargetBuilder
impl MongoDbTargetBuilder
sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The path of the Amazon DocumentDB or MongoDB target (database/collection).
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The path of the Amazon DocumentDB or MongoDB target (database/collection).
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
The path of the Amazon DocumentDB or MongoDB target (database/collection).
sourcepub fn scan_all(self, input: bool) -> Self
pub fn scan_all(self, input: bool) -> Self
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the records. If no value is specified, the value defaults to true
.
sourcepub fn set_scan_all(self, input: Option<bool>) -> Self
pub fn set_scan_all(self, input: Option<bool>) -> Self
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the records. If no value is specified, the value defaults to true
.
sourcepub fn get_scan_all(&self) -> &Option<bool>
pub fn get_scan_all(&self) -> &Option<bool>
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the records. If no value is specified, the value defaults to true
.
sourcepub fn build(self) -> MongoDbTarget
pub fn build(self) -> MongoDbTarget
Consumes the builder and constructs a MongoDbTarget
.
Trait Implementations§
source§impl Clone for MongoDbTargetBuilder
impl Clone for MongoDbTargetBuilder
source§fn clone(&self) -> MongoDbTargetBuilder
fn clone(&self) -> MongoDbTargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MongoDbTargetBuilder
impl Debug for MongoDbTargetBuilder
source§impl Default for MongoDbTargetBuilder
impl Default for MongoDbTargetBuilder
source§fn default() -> MongoDbTargetBuilder
fn default() -> MongoDbTargetBuilder
source§impl PartialEq for MongoDbTargetBuilder
impl PartialEq for MongoDbTargetBuilder
source§fn eq(&self, other: &MongoDbTargetBuilder) -> bool
fn eq(&self, other: &MongoDbTargetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MongoDbTargetBuilder
Auto Trait Implementations§
impl Freeze for MongoDbTargetBuilder
impl RefUnwindSafe for MongoDbTargetBuilder
impl Send for MongoDbTargetBuilder
impl Sync for MongoDbTargetBuilder
impl Unpin for MongoDbTargetBuilder
impl UnwindSafe for MongoDbTargetBuilder
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