Struct aws_sdk_s3control::operation::put_storage_lens_configuration::builders::PutStorageLensConfigurationInputBuilder
source · #[non_exhaustive]pub struct PutStorageLensConfigurationInputBuilder { /* private fields */ }Expand description
A builder for PutStorageLensConfigurationInput.
Implementations§
source§impl PutStorageLensConfigurationInputBuilder
impl PutStorageLensConfigurationInputBuilder
sourcepub fn config_id(self, input: impl Into<String>) -> Self
pub fn config_id(self, input: impl Into<String>) -> Self
The ID of the S3 Storage Lens configuration.
This field is required.sourcepub fn set_config_id(self, input: Option<String>) -> Self
pub fn set_config_id(self, input: Option<String>) -> Self
The ID of the S3 Storage Lens configuration.
sourcepub fn get_config_id(&self) -> &Option<String>
pub fn get_config_id(&self) -> &Option<String>
The ID of the S3 Storage Lens configuration.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account ID of the requester.
This field is required.sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID of the requester.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID of the requester.
sourcepub fn storage_lens_configuration(self, input: StorageLensConfiguration) -> Self
pub fn storage_lens_configuration(self, input: StorageLensConfiguration) -> Self
The S3 Storage Lens configuration.
This field is required.sourcepub fn set_storage_lens_configuration(
self,
input: Option<StorageLensConfiguration>
) -> Self
pub fn set_storage_lens_configuration( self, input: Option<StorageLensConfiguration> ) -> Self
The S3 Storage Lens configuration.
sourcepub fn get_storage_lens_configuration(
&self
) -> &Option<StorageLensConfiguration>
pub fn get_storage_lens_configuration( &self ) -> &Option<StorageLensConfiguration>
The S3 Storage Lens configuration.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
sourcepub fn build(self) -> Result<PutStorageLensConfigurationInput, BuildError>
pub fn build(self) -> Result<PutStorageLensConfigurationInput, BuildError>
Consumes the builder and constructs a PutStorageLensConfigurationInput.
source§impl PutStorageLensConfigurationInputBuilder
impl PutStorageLensConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutStorageLensConfigurationOutput, SdkError<PutStorageLensConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutStorageLensConfigurationOutput, SdkError<PutStorageLensConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutStorageLensConfigurationInputBuilder
impl Clone for PutStorageLensConfigurationInputBuilder
source§fn clone(&self) -> PutStorageLensConfigurationInputBuilder
fn clone(&self) -> PutStorageLensConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutStorageLensConfigurationInputBuilder
impl Default for PutStorageLensConfigurationInputBuilder
source§fn default() -> PutStorageLensConfigurationInputBuilder
fn default() -> PutStorageLensConfigurationInputBuilder
source§impl PartialEq for PutStorageLensConfigurationInputBuilder
impl PartialEq for PutStorageLensConfigurationInputBuilder
source§fn eq(&self, other: &PutStorageLensConfigurationInputBuilder) -> bool
fn eq(&self, other: &PutStorageLensConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.