#[non_exhaustive]pub struct SourceS3LocationBuilder { /* private fields */ }
Expand description
A builder for SourceS3Location
.
Implementations§
source§impl SourceS3LocationBuilder
impl SourceS3LocationBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
Name of the bucket.
This field is required.sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
Name of the bucket.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
Name of the bucket.
sourcepub fn region(self, input: S3BucketRegion) -> Self
pub fn region(self, input: S3BucketRegion) -> Self
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
sourcepub fn set_region(self, input: Option<S3BucketRegion>) -> Self
pub fn set_region(self, input: Option<S3BucketRegion>) -> Self
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
sourcepub fn get_region(&self) -> &Option<S3BucketRegion>
pub fn get_region(&self) -> &Option<S3BucketRegion>
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
sourcepub fn build(self) -> Result<SourceS3Location, BuildError>
pub fn build(self) -> Result<SourceS3Location, BuildError>
Consumes the builder and constructs a SourceS3Location
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SourceS3LocationBuilder
impl Clone for SourceS3LocationBuilder
source§fn clone(&self) -> SourceS3LocationBuilder
fn clone(&self) -> SourceS3LocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceS3LocationBuilder
impl Debug for SourceS3LocationBuilder
source§impl Default for SourceS3LocationBuilder
impl Default for SourceS3LocationBuilder
source§fn default() -> SourceS3LocationBuilder
fn default() -> SourceS3LocationBuilder
source§impl PartialEq for SourceS3LocationBuilder
impl PartialEq for SourceS3LocationBuilder
source§fn eq(&self, other: &SourceS3LocationBuilder) -> bool
fn eq(&self, other: &SourceS3LocationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.