Struct aws_sdk_transfer::types::builders::FileLocationBuilder
source · #[non_exhaustive]pub struct FileLocationBuilder { /* private fields */ }
Expand description
A builder for FileLocation
.
Implementations§
source§impl FileLocationBuilder
impl FileLocationBuilder
sourcepub fn s3_file_location(self, input: S3FileLocation) -> Self
pub fn s3_file_location(self, input: S3FileLocation) -> Self
Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
sourcepub fn set_s3_file_location(self, input: Option<S3FileLocation>) -> Self
pub fn set_s3_file_location(self, input: Option<S3FileLocation>) -> Self
Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
sourcepub fn get_s3_file_location(&self) -> &Option<S3FileLocation>
pub fn get_s3_file_location(&self) -> &Option<S3FileLocation>
Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
sourcepub fn efs_file_location(self, input: EfsFileLocation) -> Self
pub fn efs_file_location(self, input: EfsFileLocation) -> Self
Specifies the Amazon EFS identifier and the path for the file being used.
sourcepub fn set_efs_file_location(self, input: Option<EfsFileLocation>) -> Self
pub fn set_efs_file_location(self, input: Option<EfsFileLocation>) -> Self
Specifies the Amazon EFS identifier and the path for the file being used.
sourcepub fn get_efs_file_location(&self) -> &Option<EfsFileLocation>
pub fn get_efs_file_location(&self) -> &Option<EfsFileLocation>
Specifies the Amazon EFS identifier and the path for the file being used.
sourcepub fn build(self) -> FileLocation
pub fn build(self) -> FileLocation
Consumes the builder and constructs a FileLocation
.
Trait Implementations§
source§impl Clone for FileLocationBuilder
impl Clone for FileLocationBuilder
source§fn clone(&self) -> FileLocationBuilder
fn clone(&self) -> FileLocationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileLocationBuilder
impl Debug for FileLocationBuilder
source§impl Default for FileLocationBuilder
impl Default for FileLocationBuilder
source§fn default() -> FileLocationBuilder
fn default() -> FileLocationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FileLocationBuilder
impl PartialEq for FileLocationBuilder
source§fn eq(&self, other: &FileLocationBuilder) -> bool
fn eq(&self, other: &FileLocationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileLocationBuilder
Auto Trait Implementations§
impl Freeze for FileLocationBuilder
impl RefUnwindSafe for FileLocationBuilder
impl Send for FileLocationBuilder
impl Sync for FileLocationBuilder
impl Unpin for FileLocationBuilder
impl UnwindSafe for FileLocationBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.