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 ==.impl StructuralPartialEq for PutStorageLensConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for PutStorageLensConfigurationInputBuilder
impl RefUnwindSafe for PutStorageLensConfigurationInputBuilder
impl Send for PutStorageLensConfigurationInputBuilder
impl Sync for PutStorageLensConfigurationInputBuilder
impl Unpin for PutStorageLensConfigurationInputBuilder
impl UnwindSafe for PutStorageLensConfigurationInputBuilder
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> 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