Struct aws_sdk_transfer::types::builders::S3FileLocationBuilder
source · #[non_exhaustive]pub struct S3FileLocationBuilder { /* private fields */ }Expand description
A builder for S3FileLocation.
Implementations§
source§impl S3FileLocationBuilder
impl S3FileLocationBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
Specifies the S3 bucket that contains the file being used.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
Specifies the S3 bucket that contains the file being used.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
Specifies the S3 bucket that contains the file being used.
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
Specifies the file version.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
Specifies the file version.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
Specifies the file version.
sourcepub fn etag(self, input: impl Into<String>) -> Self
pub fn etag(self, input: impl Into<String>) -> Self
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
sourcepub fn set_etag(self, input: Option<String>) -> Self
pub fn set_etag(self, input: Option<String>) -> Self
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
sourcepub fn get_etag(&self) -> &Option<String>
pub fn get_etag(&self) -> &Option<String>
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
sourcepub fn build(self) -> S3FileLocation
pub fn build(self) -> S3FileLocation
Consumes the builder and constructs a S3FileLocation.
Trait Implementations§
source§impl Clone for S3FileLocationBuilder
impl Clone for S3FileLocationBuilder
source§fn clone(&self) -> S3FileLocationBuilder
fn clone(&self) -> S3FileLocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3FileLocationBuilder
impl Debug for S3FileLocationBuilder
source§impl Default for S3FileLocationBuilder
impl Default for S3FileLocationBuilder
source§fn default() -> S3FileLocationBuilder
fn default() -> S3FileLocationBuilder
source§impl PartialEq for S3FileLocationBuilder
impl PartialEq for S3FileLocationBuilder
source§fn eq(&self, other: &S3FileLocationBuilder) -> bool
fn eq(&self, other: &S3FileLocationBuilder) -> bool
self and other values to be equal, and is used
by ==.