Struct aws_sdk_s3control::types::builders::AccountLevelBuilder
source · #[non_exhaustive]pub struct AccountLevelBuilder { /* private fields */ }
Expand description
A builder for AccountLevel
.
Implementations§
source§impl AccountLevelBuilder
impl AccountLevelBuilder
sourcepub fn activity_metrics(self, input: ActivityMetrics) -> Self
pub fn activity_metrics(self, input: ActivityMetrics) -> Self
A container element for S3 Storage Lens activity metrics.
sourcepub fn set_activity_metrics(self, input: Option<ActivityMetrics>) -> Self
pub fn set_activity_metrics(self, input: Option<ActivityMetrics>) -> Self
A container element for S3 Storage Lens activity metrics.
sourcepub fn get_activity_metrics(&self) -> &Option<ActivityMetrics>
pub fn get_activity_metrics(&self) -> &Option<ActivityMetrics>
A container element for S3 Storage Lens activity metrics.
sourcepub fn bucket_level(self, input: BucketLevel) -> Self
pub fn bucket_level(self, input: BucketLevel) -> Self
A container element for the S3 Storage Lens bucket-level configuration.
This field is required.sourcepub fn set_bucket_level(self, input: Option<BucketLevel>) -> Self
pub fn set_bucket_level(self, input: Option<BucketLevel>) -> Self
A container element for the S3 Storage Lens bucket-level configuration.
sourcepub fn get_bucket_level(&self) -> &Option<BucketLevel>
pub fn get_bucket_level(&self) -> &Option<BucketLevel>
A container element for the S3 Storage Lens bucket-level configuration.
sourcepub fn advanced_cost_optimization_metrics(
self,
input: AdvancedCostOptimizationMetrics,
) -> Self
pub fn advanced_cost_optimization_metrics( self, input: AdvancedCostOptimizationMetrics, ) -> Self
A container element for S3 Storage Lens advanced cost-optimization metrics.
sourcepub fn set_advanced_cost_optimization_metrics(
self,
input: Option<AdvancedCostOptimizationMetrics>,
) -> Self
pub fn set_advanced_cost_optimization_metrics( self, input: Option<AdvancedCostOptimizationMetrics>, ) -> Self
A container element for S3 Storage Lens advanced cost-optimization metrics.
sourcepub fn get_advanced_cost_optimization_metrics(
&self,
) -> &Option<AdvancedCostOptimizationMetrics>
pub fn get_advanced_cost_optimization_metrics( &self, ) -> &Option<AdvancedCostOptimizationMetrics>
A container element for S3 Storage Lens advanced cost-optimization metrics.
sourcepub fn advanced_data_protection_metrics(
self,
input: AdvancedDataProtectionMetrics,
) -> Self
pub fn advanced_data_protection_metrics( self, input: AdvancedDataProtectionMetrics, ) -> Self
A container element for S3 Storage Lens advanced data-protection metrics.
sourcepub fn set_advanced_data_protection_metrics(
self,
input: Option<AdvancedDataProtectionMetrics>,
) -> Self
pub fn set_advanced_data_protection_metrics( self, input: Option<AdvancedDataProtectionMetrics>, ) -> Self
A container element for S3 Storage Lens advanced data-protection metrics.
sourcepub fn get_advanced_data_protection_metrics(
&self,
) -> &Option<AdvancedDataProtectionMetrics>
pub fn get_advanced_data_protection_metrics( &self, ) -> &Option<AdvancedDataProtectionMetrics>
A container element for S3 Storage Lens advanced data-protection metrics.
sourcepub fn detailed_status_codes_metrics(
self,
input: DetailedStatusCodesMetrics,
) -> Self
pub fn detailed_status_codes_metrics( self, input: DetailedStatusCodesMetrics, ) -> Self
A container element for detailed status code metrics.
sourcepub fn set_detailed_status_codes_metrics(
self,
input: Option<DetailedStatusCodesMetrics>,
) -> Self
pub fn set_detailed_status_codes_metrics( self, input: Option<DetailedStatusCodesMetrics>, ) -> Self
A container element for detailed status code metrics.
sourcepub fn get_detailed_status_codes_metrics(
&self,
) -> &Option<DetailedStatusCodesMetrics>
pub fn get_detailed_status_codes_metrics( &self, ) -> &Option<DetailedStatusCodesMetrics>
A container element for detailed status code metrics.
sourcepub fn storage_lens_group_level(self, input: StorageLensGroupLevel) -> Self
pub fn storage_lens_group_level(self, input: StorageLensGroupLevel) -> Self
A container element for S3 Storage Lens groups metrics.
sourcepub fn set_storage_lens_group_level(
self,
input: Option<StorageLensGroupLevel>,
) -> Self
pub fn set_storage_lens_group_level( self, input: Option<StorageLensGroupLevel>, ) -> Self
A container element for S3 Storage Lens groups metrics.
sourcepub fn get_storage_lens_group_level(&self) -> &Option<StorageLensGroupLevel>
pub fn get_storage_lens_group_level(&self) -> &Option<StorageLensGroupLevel>
A container element for S3 Storage Lens groups metrics.
sourcepub fn build(self) -> AccountLevel
pub fn build(self) -> AccountLevel
Consumes the builder and constructs a AccountLevel
.
Trait Implementations§
source§impl Clone for AccountLevelBuilder
impl Clone for AccountLevelBuilder
source§fn clone(&self) -> AccountLevelBuilder
fn clone(&self) -> AccountLevelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountLevelBuilder
impl Debug for AccountLevelBuilder
source§impl Default for AccountLevelBuilder
impl Default for AccountLevelBuilder
source§fn default() -> AccountLevelBuilder
fn default() -> AccountLevelBuilder
source§impl PartialEq for AccountLevelBuilder
impl PartialEq for AccountLevelBuilder
impl StructuralPartialEq for AccountLevelBuilder
Auto Trait Implementations§
impl Freeze for AccountLevelBuilder
impl RefUnwindSafe for AccountLevelBuilder
impl Send for AccountLevelBuilder
impl Sync for AccountLevelBuilder
impl Unpin for AccountLevelBuilder
impl UnwindSafe for AccountLevelBuilder
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
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)
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>
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>
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 more