#[non_exhaustive]pub struct S3TablesDestinationBuilder { /* private fields */ }
Expand description
A builder for S3TablesDestination
.
Implementations§
source§impl S3TablesDestinationBuilder
impl S3TablesDestinationBuilder
sourcepub fn table_bucket_arn(self, input: impl Into<String>) -> Self
pub fn table_bucket_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket.
This field is required.sourcepub fn set_table_bucket_arn(self, input: Option<String>) -> Self
pub fn set_table_bucket_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket.
sourcepub fn get_table_bucket_arn(&self) -> &Option<String>
pub fn get_table_bucket_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the aws_s3_metadata
namespace in the destination table bucket.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the aws_s3_metadata
namespace in the destination table bucket.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the aws_s3_metadata
namespace in the destination table bucket.
sourcepub fn build(self) -> Result<S3TablesDestination, BuildError>
pub fn build(self) -> Result<S3TablesDestination, BuildError>
Consumes the builder and constructs a S3TablesDestination
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3TablesDestinationBuilder
impl Clone for S3TablesDestinationBuilder
source§fn clone(&self) -> S3TablesDestinationBuilder
fn clone(&self) -> S3TablesDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3TablesDestinationBuilder
impl Debug for S3TablesDestinationBuilder
source§impl Default for S3TablesDestinationBuilder
impl Default for S3TablesDestinationBuilder
source§fn default() -> S3TablesDestinationBuilder
fn default() -> S3TablesDestinationBuilder
impl StructuralPartialEq for S3TablesDestinationBuilder
Auto Trait Implementations§
impl Freeze for S3TablesDestinationBuilder
impl RefUnwindSafe for S3TablesDestinationBuilder
impl Send for S3TablesDestinationBuilder
impl Sync for S3TablesDestinationBuilder
impl Unpin for S3TablesDestinationBuilder
impl UnwindSafe for S3TablesDestinationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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