#[non_exhaustive]pub struct SourceS3Location {
pub bucket: String,
pub key: String,
pub region: Option<S3BucketRegion>,
}
Expand description
Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read from.
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: String
Name of the bucket.
key: String
Key of the object.
region: 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.
Implementations§
source§impl SourceS3Location
impl SourceS3Location
sourcepub fn region(&self) -> Option<&S3BucketRegion>
pub fn 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.
source§impl SourceS3Location
impl SourceS3Location
sourcepub fn builder() -> SourceS3LocationBuilder
pub fn builder() -> SourceS3LocationBuilder
Creates a new builder-style object to manufacture SourceS3Location
.
Trait Implementations§
source§impl Clone for SourceS3Location
impl Clone for SourceS3Location
source§fn clone(&self) -> SourceS3Location
fn clone(&self) -> SourceS3Location
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 SourceS3Location
impl Debug for SourceS3Location
source§impl PartialEq for SourceS3Location
impl PartialEq for SourceS3Location
source§fn eq(&self, other: &SourceS3Location) -> bool
fn eq(&self, other: &SourceS3Location) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceS3Location
Auto Trait Implementations§
impl RefUnwindSafe for SourceS3Location
impl Send for SourceS3Location
impl Sync for SourceS3Location
impl Unpin for SourceS3Location
impl UnwindSafe for SourceS3Location
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>
Creates a shared type from an unshared type.