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 ==
.