Struct aws_sdk_glue::types::builders::CatalogTargetBuilder
source · #[non_exhaustive]pub struct CatalogTargetBuilder { /* private fields */ }
Expand description
A builder for CatalogTarget
.
Implementations§
source§impl CatalogTargetBuilder
impl CatalogTargetBuilder
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database to be synchronized.
This field is required.sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database to be synchronized.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database to be synchronized.
sourcepub fn tables(self, input: impl Into<String>) -> Self
pub fn tables(self, input: impl Into<String>) -> Self
Appends an item to tables
.
To override the contents of this collection use set_tables
.
A list of the tables to be synchronized.
sourcepub fn set_tables(self, input: Option<Vec<String>>) -> Self
pub fn set_tables(self, input: Option<Vec<String>>) -> Self
A list of the tables to be synchronized.
sourcepub fn get_tables(&self) -> &Option<Vec<String>>
pub fn get_tables(&self) -> &Option<Vec<String>>
A list of the tables to be synchronized.
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 for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a Catalog
connection type paired with a NETWORK
Connection type.
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 for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a Catalog
connection type paired with a NETWORK
Connection type.
sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a Catalog
connection type paired with a NETWORK
Connection type.
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
.
sourcepub fn build(self) -> Result<CatalogTarget, BuildError>
pub fn build(self) -> Result<CatalogTarget, BuildError>
Consumes the builder and constructs a CatalogTarget
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CatalogTargetBuilder
impl Clone for CatalogTargetBuilder
source§fn clone(&self) -> CatalogTargetBuilder
fn clone(&self) -> CatalogTargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CatalogTargetBuilder
impl Debug for CatalogTargetBuilder
source§impl Default for CatalogTargetBuilder
impl Default for CatalogTargetBuilder
source§fn default() -> CatalogTargetBuilder
fn default() -> CatalogTargetBuilder
source§impl PartialEq for CatalogTargetBuilder
impl PartialEq for CatalogTargetBuilder
source§fn eq(&self, other: &CatalogTargetBuilder) -> bool
fn eq(&self, other: &CatalogTargetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CatalogTargetBuilder
Auto Trait Implementations§
impl Freeze for CatalogTargetBuilder
impl RefUnwindSafe for CatalogTargetBuilder
impl Send for CatalogTargetBuilder
impl Sync for CatalogTargetBuilder
impl Unpin for CatalogTargetBuilder
impl UnwindSafe for CatalogTargetBuilder
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