Struct aws_sdk_transfer::types::S3FileLocation
source · #[non_exhaustive]pub struct S3FileLocation {
pub bucket: Option<String>,
pub key: Option<String>,
pub version_id: Option<String>,
pub etag: Option<String>,
}Expand description
Specifies the details for the file location for the file that's being used in the workflow. Only applicable if you are using S3 storage.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bucket: Option<String>Specifies the S3 bucket that contains the file being used.
key: Option<String>The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
version_id: Option<String>Specifies the file version.
etag: 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.
Implementations§
source§impl S3FileLocation
impl S3FileLocation
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
Specifies the S3 bucket that contains the file being used.
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
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) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
Specifies the file version.
source§impl S3FileLocation
impl S3FileLocation
sourcepub fn builder() -> S3FileLocationBuilder
pub fn builder() -> S3FileLocationBuilder
Creates a new builder-style object to manufacture S3FileLocation.
Trait Implementations§
source§impl Clone for S3FileLocation
impl Clone for S3FileLocation
source§fn clone(&self) -> S3FileLocation
fn clone(&self) -> S3FileLocation
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 S3FileLocation
impl Debug for S3FileLocation
source§impl PartialEq for S3FileLocation
impl PartialEq for S3FileLocation
impl StructuralPartialEq for S3FileLocation
Auto Trait Implementations§
impl Freeze for S3FileLocation
impl RefUnwindSafe for S3FileLocation
impl Send for S3FileLocation
impl Sync for S3FileLocation
impl Unpin for S3FileLocation
impl UnwindSafe for S3FileLocation
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> 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)
🔬This is a nightly-only experimental API. (
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>
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.