Struct aws_sdk_dynamodb::types::builders::S3BucketSourceBuilder
source · #[non_exhaustive]pub struct S3BucketSourceBuilder { /* private fields */ }
Expand description
A builder for S3BucketSource
.
Implementations§
source§impl S3BucketSourceBuilder
impl S3BucketSourceBuilder
sourcepub fn s3_bucket_owner(self, input: impl Into<String>) -> Self
pub fn s3_bucket_owner(self, input: impl Into<String>) -> Self
The account number of the S3 bucket that is being imported from. If the bucket is owned by the requester this is optional.
sourcepub fn set_s3_bucket_owner(self, input: Option<String>) -> Self
pub fn set_s3_bucket_owner(self, input: Option<String>) -> Self
The account number of the S3 bucket that is being imported from. If the bucket is owned by the requester this is optional.
sourcepub fn get_s3_bucket_owner(&self) -> &Option<String>
pub fn get_s3_bucket_owner(&self) -> &Option<String>
The account number of the S3 bucket that is being imported from. If the bucket is owned by the requester this is optional.
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The S3 bucket that is being imported from.
This field is required.sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The S3 bucket that is being imported from.
sourcepub fn get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
The S3 bucket that is being imported from.
sourcepub fn s3_key_prefix(self, input: impl Into<String>) -> Self
pub fn s3_key_prefix(self, input: impl Into<String>) -> Self
The key prefix shared by all S3 Objects that are being imported.
sourcepub fn set_s3_key_prefix(self, input: Option<String>) -> Self
pub fn set_s3_key_prefix(self, input: Option<String>) -> Self
The key prefix shared by all S3 Objects that are being imported.
sourcepub fn get_s3_key_prefix(&self) -> &Option<String>
pub fn get_s3_key_prefix(&self) -> &Option<String>
The key prefix shared by all S3 Objects that are being imported.
sourcepub fn build(self) -> Result<S3BucketSource, BuildError>
pub fn build(self) -> Result<S3BucketSource, BuildError>
Consumes the builder and constructs a S3BucketSource
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3BucketSourceBuilder
impl Clone for S3BucketSourceBuilder
source§fn clone(&self) -> S3BucketSourceBuilder
fn clone(&self) -> S3BucketSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3BucketSourceBuilder
impl Debug for S3BucketSourceBuilder
source§impl Default for S3BucketSourceBuilder
impl Default for S3BucketSourceBuilder
source§fn default() -> S3BucketSourceBuilder
fn default() -> S3BucketSourceBuilder
source§impl PartialEq for S3BucketSourceBuilder
impl PartialEq for S3BucketSourceBuilder
source§fn eq(&self, other: &S3BucketSourceBuilder) -> bool
fn eq(&self, other: &S3BucketSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3BucketSourceBuilder
Auto Trait Implementations§
impl Freeze for S3BucketSourceBuilder
impl RefUnwindSafe for S3BucketSourceBuilder
impl Send for S3BucketSourceBuilder
impl Sync for S3BucketSourceBuilder
impl Unpin for S3BucketSourceBuilder
impl UnwindSafe for S3BucketSourceBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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