Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::InventoryConfigurationBuilder
pub struct InventoryConfigurationBuilder { /* private fields */ }
Expand description
A builder for InventoryConfiguration
.
Implementations§
§impl InventoryConfigurationBuilder
impl InventoryConfigurationBuilder
pub fn destination(
self,
input: InventoryDestination
) -> InventoryConfigurationBuilder
pub fn destination( self, input: InventoryDestination ) -> InventoryConfigurationBuilder
Contains information about where to publish the inventory results.
pub fn set_destination(
self,
input: Option<InventoryDestination>
) -> InventoryConfigurationBuilder
pub fn set_destination( self, input: Option<InventoryDestination> ) -> InventoryConfigurationBuilder
Contains information about where to publish the inventory results.
pub fn get_destination(&self) -> &Option<InventoryDestination>
pub fn get_destination(&self) -> &Option<InventoryDestination>
Contains information about where to publish the inventory results.
pub fn is_enabled(self, input: bool) -> InventoryConfigurationBuilder
pub fn is_enabled(self, input: bool) -> InventoryConfigurationBuilder
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.
pub fn set_is_enabled(
self,
input: Option<bool>
) -> InventoryConfigurationBuilder
pub fn set_is_enabled( self, input: Option<bool> ) -> InventoryConfigurationBuilder
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.
pub fn get_is_enabled(&self) -> &Option<bool>
pub fn get_is_enabled(&self) -> &Option<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.
pub fn filter(self, input: InventoryFilter) -> InventoryConfigurationBuilder
pub fn filter(self, input: InventoryFilter) -> InventoryConfigurationBuilder
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
pub fn set_filter(
self,
input: Option<InventoryFilter>
) -> InventoryConfigurationBuilder
pub fn set_filter( self, input: Option<InventoryFilter> ) -> InventoryConfigurationBuilder
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
pub fn get_filter(&self) -> &Option<InventoryFilter>
pub fn get_filter(&self) -> &Option<InventoryFilter>
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
pub fn id(self, input: impl Into<String>) -> InventoryConfigurationBuilder
pub fn id(self, input: impl Into<String>) -> InventoryConfigurationBuilder
The ID used to identify the inventory configuration.
pub fn set_id(self, input: Option<String>) -> InventoryConfigurationBuilder
pub fn set_id(self, input: Option<String>) -> InventoryConfigurationBuilder
The ID used to identify the inventory configuration.
pub fn included_object_versions(
self,
input: InventoryIncludedObjectVersions
) -> InventoryConfigurationBuilder
pub fn included_object_versions( self, input: InventoryIncludedObjectVersions ) -> InventoryConfigurationBuilder
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.
pub fn set_included_object_versions(
self,
input: Option<InventoryIncludedObjectVersions>
) -> InventoryConfigurationBuilder
pub fn set_included_object_versions( self, input: Option<InventoryIncludedObjectVersions> ) -> InventoryConfigurationBuilder
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.
pub fn get_included_object_versions(
&self
) -> &Option<InventoryIncludedObjectVersions>
pub fn get_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.
pub fn optional_fields(
self,
input: InventoryOptionalField
) -> InventoryConfigurationBuilder
pub fn optional_fields( self, input: InventoryOptionalField ) -> InventoryConfigurationBuilder
Appends an item to optional_fields
.
To override the contents of this collection use set_optional_fields
.
Contains the optional fields that are included in the inventory results.
pub fn set_optional_fields(
self,
input: Option<Vec<InventoryOptionalField, Global>>
) -> InventoryConfigurationBuilder
pub fn set_optional_fields( self, input: Option<Vec<InventoryOptionalField, Global>> ) -> InventoryConfigurationBuilder
Contains the optional fields that are included in the inventory results.
pub fn get_optional_fields(
&self
) -> &Option<Vec<InventoryOptionalField, Global>>
pub fn get_optional_fields( &self ) -> &Option<Vec<InventoryOptionalField, Global>>
Contains the optional fields that are included in the inventory results.
pub fn schedule(self, input: InventorySchedule) -> InventoryConfigurationBuilder
pub fn schedule(self, input: InventorySchedule) -> InventoryConfigurationBuilder
Specifies the schedule for generating inventory results.
pub fn set_schedule(
self,
input: Option<InventorySchedule>
) -> InventoryConfigurationBuilder
pub fn set_schedule( self, input: Option<InventorySchedule> ) -> InventoryConfigurationBuilder
Specifies the schedule for generating inventory results.
pub fn get_schedule(&self) -> &Option<InventorySchedule>
pub fn get_schedule(&self) -> &Option<InventorySchedule>
Specifies the schedule for generating inventory results.
pub fn build(self) -> InventoryConfiguration
pub fn build(self) -> InventoryConfiguration
Consumes the builder and constructs a InventoryConfiguration
.
Trait Implementations§
§impl Clone for InventoryConfigurationBuilder
impl Clone for InventoryConfigurationBuilder
§fn clone(&self) -> InventoryConfigurationBuilder
fn clone(&self) -> InventoryConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for InventoryConfigurationBuilder
impl Debug for InventoryConfigurationBuilder
§impl Default for InventoryConfigurationBuilder
impl Default for InventoryConfigurationBuilder
§fn default() -> InventoryConfigurationBuilder
fn default() -> InventoryConfigurationBuilder
§impl PartialEq<InventoryConfigurationBuilder> for InventoryConfigurationBuilder
impl PartialEq<InventoryConfigurationBuilder> for InventoryConfigurationBuilder
§fn eq(&self, other: &InventoryConfigurationBuilder) -> bool
fn eq(&self, other: &InventoryConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.