Struct aws_sdk_s3::model::InventoryConfiguration
source · [−]#[non_exhaustive]pub struct InventoryConfiguration { /* private fields */ }
Expand description
Specifies the inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket inventory in the Amazon S3 API Reference.
Implementations
sourceimpl InventoryConfiguration
impl InventoryConfiguration
sourcepub fn destination(&self) -> Option<&InventoryDestination>
pub fn destination(&self) -> Option<&InventoryDestination>
Contains information about where to publish the inventory results.
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Specifies whether the inventory is enabled or disabled. If set to True
, an inventory list is generated. If set to False
, no inventory list is generated.
sourcepub fn filter(&self) -> Option<&InventoryFilter>
pub fn filter(&self) -> Option<&InventoryFilter>
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
sourcepub fn included_object_versions(
&self
) -> Option<&InventoryIncludedObjectVersions>
pub fn included_object_versions(
&self
) -> Option<&InventoryIncludedObjectVersions>
Object versions to include in the inventory list. If set to All
, the list includes all the object versions, which adds the version-related fields VersionId
, IsLatest
, and DeleteMarker
to the list. If set to Current
, the list does not contain these version-related fields.
sourcepub fn optional_fields(&self) -> Option<&[InventoryOptionalField]>
pub fn optional_fields(&self) -> Option<&[InventoryOptionalField]>
Contains the optional fields that are included in the inventory results.
sourcepub fn schedule(&self) -> Option<&InventorySchedule>
pub fn schedule(&self) -> Option<&InventorySchedule>
Specifies the schedule for generating inventory results.
sourceimpl InventoryConfiguration
impl InventoryConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryConfiguration
.
Trait Implementations
sourceimpl Clone for InventoryConfiguration
impl Clone for InventoryConfiguration
sourcefn clone(&self) -> InventoryConfiguration
fn clone(&self) -> InventoryConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InventoryConfiguration
impl Debug for InventoryConfiguration
sourceimpl PartialEq<InventoryConfiguration> for InventoryConfiguration
impl PartialEq<InventoryConfiguration> for InventoryConfiguration
sourcefn eq(&self, other: &InventoryConfiguration) -> bool
fn eq(&self, other: &InventoryConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InventoryConfiguration) -> bool
fn ne(&self, other: &InventoryConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for InventoryConfiguration
Auto Trait Implementations
impl RefUnwindSafe for InventoryConfiguration
impl Send for InventoryConfiguration
impl Sync for InventoryConfiguration
impl Unpin for InventoryConfiguration
impl UnwindSafe for InventoryConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more