Struct aws_sdk_glue::types::builders::S3TargetBuilder
source · #[non_exhaustive]pub struct S3TargetBuilder { /* private fields */ }
Expand description
A builder for S3Target
.
Implementations§
source§impl S3TargetBuilder
impl S3TargetBuilder
sourcepub fn exclusions(self, input: impl Into<String>) -> Self
pub fn exclusions(self, input: impl Into<String>) -> Self
Appends an item to exclusions
.
To override the contents of this collection use set_exclusions
.
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
sourcepub fn set_exclusions(self, input: Option<Vec<String>>) -> Self
pub fn set_exclusions(self, input: Option<Vec<String>>) -> Self
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
sourcepub fn get_exclusions(&self) -> &Option<Vec<String>>
pub fn get_exclusions(&self) -> &Option<Vec<String>>
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
sourcepub fn sample_size(self, input: i32) -> Self
pub fn sample_size(self, input: i32) -> Self
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
sourcepub fn set_sample_size(self, input: Option<i32>) -> Self
pub fn set_sample_size(self, input: Option<i32>) -> Self
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
sourcepub fn get_sample_size(&self) -> &Option<i32>
pub fn get_sample_size(&self) -> &Option<i32>
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
sourcepub fn event_queue_arn(self, input: impl Into<String>) -> Self
pub fn event_queue_arn(self, input: impl Into<String>) -> Self
A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.
sourcepub fn set_event_queue_arn(self, input: Option<String>) -> Self
pub fn set_event_queue_arn(self, input: Option<String>) -> Self
A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.
sourcepub fn get_event_queue_arn(&self) -> &Option<String>
pub fn get_event_queue_arn(&self) -> &Option<String>
A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs
.
sourcepub fn dlq_event_queue_arn(self, input: impl Into<String>) -> Self
pub fn dlq_event_queue_arn(self, input: impl Into<String>) -> Self
A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.
sourcepub fn set_dlq_event_queue_arn(self, input: Option<String>) -> Self
pub fn set_dlq_event_queue_arn(self, input: Option<String>) -> Self
A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.
sourcepub fn get_dlq_event_queue_arn(&self) -> &Option<String>
pub fn get_dlq_event_queue_arn(&self) -> &Option<String>
A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.
Trait Implementations§
source§impl Clone for S3TargetBuilder
impl Clone for S3TargetBuilder
source§fn clone(&self) -> S3TargetBuilder
fn clone(&self) -> S3TargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3TargetBuilder
impl Debug for S3TargetBuilder
source§impl Default for S3TargetBuilder
impl Default for S3TargetBuilder
source§fn default() -> S3TargetBuilder
fn default() -> S3TargetBuilder
source§impl PartialEq for S3TargetBuilder
impl PartialEq for S3TargetBuilder
source§fn eq(&self, other: &S3TargetBuilder) -> bool
fn eq(&self, other: &S3TargetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3TargetBuilder
Auto Trait Implementations§
impl Freeze for S3TargetBuilder
impl RefUnwindSafe for S3TargetBuilder
impl Send for S3TargetBuilder
impl Sync for S3TargetBuilder
impl Unpin for S3TargetBuilder
impl UnwindSafe for S3TargetBuilder
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