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
impl StructuralPartialEq for S3FileLocationBuilder
Auto Trait Implementations§
impl Freeze for S3FileLocationBuilder
impl RefUnwindSafe for S3FileLocationBuilder
impl Send for S3FileLocationBuilder
impl Sync for S3FileLocationBuilder
impl Unpin for S3FileLocationBuilder
impl UnwindSafe for S3FileLocationBuilder
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