Struct aws_sdk_s3::types::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§
source§impl 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.
source§impl InventoryConfiguration
impl InventoryConfiguration
sourcepub fn builder() -> InventoryConfigurationBuilder
pub fn builder() -> InventoryConfigurationBuilder
Creates a new builder-style object to manufacture InventoryConfiguration
.
Trait Implementations§
source§impl Clone for InventoryConfiguration
impl Clone for InventoryConfiguration
source§fn clone(&self) -> InventoryConfiguration
fn clone(&self) -> InventoryConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InventoryConfiguration
impl Debug for InventoryConfiguration
source§impl PartialEq<InventoryConfiguration> for InventoryConfiguration
impl PartialEq<InventoryConfiguration> for InventoryConfiguration
source§fn eq(&self, other: &InventoryConfiguration) -> bool
fn eq(&self, other: &InventoryConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.