Struct aws_sdk_s3control::model::storage_lens_configuration::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for StorageLensConfiguration
Implementations
sourceimpl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
A container for the Amazon S3 Storage Lens configuration ID.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
A container for the Amazon S3 Storage Lens configuration ID.
sourcepub fn account_level(self, input: AccountLevel) -> Self
pub fn account_level(self, input: AccountLevel) -> Self
A container for all the account-level configurations of your S3 Storage Lens configuration.
sourcepub fn set_account_level(self, input: Option<AccountLevel>) -> Self
pub fn set_account_level(self, input: Option<AccountLevel>) -> Self
A container for all the account-level configurations of your S3 Storage Lens configuration.
sourcepub fn include(self, input: Include) -> Self
pub fn include(self, input: Include) -> Self
A container for what is included in this configuration. This container can only be valid if there is no Exclude
container submitted, and it's not empty.
sourcepub fn set_include(self, input: Option<Include>) -> Self
pub fn set_include(self, input: Option<Include>) -> Self
A container for what is included in this configuration. This container can only be valid if there is no Exclude
container submitted, and it's not empty.
sourcepub fn exclude(self, input: Exclude) -> Self
pub fn exclude(self, input: Exclude) -> Self
A container for what is excluded in this configuration. This container can only be valid if there is no Include
container submitted, and it's not empty.
sourcepub fn set_exclude(self, input: Option<Exclude>) -> Self
pub fn set_exclude(self, input: Option<Exclude>) -> Self
A container for what is excluded in this configuration. This container can only be valid if there is no Include
container submitted, and it's not empty.
sourcepub fn data_export(self, input: StorageLensDataExport) -> Self
pub fn data_export(self, input: StorageLensDataExport) -> Self
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
sourcepub fn set_data_export(self, input: Option<StorageLensDataExport>) -> Self
pub fn set_data_export(self, input: Option<StorageLensDataExport>) -> Self
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
sourcepub fn is_enabled(self, input: bool) -> Self
pub fn is_enabled(self, input: bool) -> Self
A container for whether the S3 Storage Lens configuration is enabled.
sourcepub fn set_is_enabled(self, input: Option<bool>) -> Self
pub fn set_is_enabled(self, input: Option<bool>) -> Self
A container for whether the S3 Storage Lens configuration is enabled.
sourcepub fn aws_org(self, input: StorageLensAwsOrg) -> Self
pub fn aws_org(self, input: StorageLensAwsOrg) -> Self
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
sourcepub fn set_aws_org(self, input: Option<StorageLensAwsOrg>) -> Self
pub fn set_aws_org(self, input: Option<StorageLensAwsOrg>) -> Self
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
sourcepub fn storage_lens_arn(self, input: impl Into<String>) -> Self
pub fn storage_lens_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
sourcepub fn set_storage_lens_arn(self, input: Option<String>) -> Self
pub fn set_storage_lens_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
sourcepub fn build(self) -> StorageLensConfiguration
pub fn build(self) -> StorageLensConfiguration
Consumes the builder and constructs a StorageLensConfiguration
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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