Struct aws_sdk_glue::types::builders::DynamoDbTargetBuilder
source · #[non_exhaustive]pub struct DynamoDbTargetBuilder { /* private fields */ }Expand description
A builder for DynamoDbTarget.
Implementations§
source§impl DynamoDbTargetBuilder
impl DynamoDbTargetBuilder
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 scan_rate(self, input: f64) -> Self
pub fn scan_rate(self, input: f64) -> Self
The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
sourcepub fn set_scan_rate(self, input: Option<f64>) -> Self
pub fn set_scan_rate(self, input: Option<f64>) -> Self
The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
sourcepub fn get_scan_rate(&self) -> &Option<f64>
pub fn get_scan_rate(&self) -> &Option<f64>
The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
sourcepub fn build(self) -> DynamoDbTarget
pub fn build(self) -> DynamoDbTarget
Consumes the builder and constructs a DynamoDbTarget.
Trait Implementations§
source§impl Clone for DynamoDbTargetBuilder
impl Clone for DynamoDbTargetBuilder
source§fn clone(&self) -> DynamoDbTargetBuilder
fn clone(&self) -> DynamoDbTargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DynamoDbTargetBuilder
impl Debug for DynamoDbTargetBuilder
source§impl Default for DynamoDbTargetBuilder
impl Default for DynamoDbTargetBuilder
source§fn default() -> DynamoDbTargetBuilder
fn default() -> DynamoDbTargetBuilder
source§impl PartialEq for DynamoDbTargetBuilder
impl PartialEq for DynamoDbTargetBuilder
source§fn eq(&self, other: &DynamoDbTargetBuilder) -> bool
fn eq(&self, other: &DynamoDbTargetBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DynamoDbTargetBuilder
Auto Trait Implementations§
impl Freeze for DynamoDbTargetBuilder
impl RefUnwindSafe for DynamoDbTargetBuilder
impl Send for DynamoDbTargetBuilder
impl Sync for DynamoDbTargetBuilder
impl Unpin for DynamoDbTargetBuilder
impl UnwindSafe for DynamoDbTargetBuilder
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