Struct aws_sdk_s3control::operation::create_storage_lens_group::builders::CreateStorageLensGroupInputBuilder
source · #[non_exhaustive]pub struct CreateStorageLensGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateStorageLensGroupInput.
Implementations§
source§impl CreateStorageLensGroupInputBuilder
impl CreateStorageLensGroupInputBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that the Storage Lens group is created from and associated with.
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 Amazon Web Services account ID that the Storage Lens group is created from and associated with.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID that the Storage Lens group is created from and associated with.
sourcepub fn storage_lens_group(self, input: StorageLensGroup) -> Self
pub fn storage_lens_group(self, input: StorageLensGroup) -> Self
The Storage Lens group configuration.
This field is required.sourcepub fn set_storage_lens_group(self, input: Option<StorageLensGroup>) -> Self
pub fn set_storage_lens_group(self, input: Option<StorageLensGroup>) -> Self
The Storage Lens group configuration.
sourcepub fn get_storage_lens_group(&self) -> &Option<StorageLensGroup>
pub fn get_storage_lens_group(&self) -> &Option<StorageLensGroup>
The Storage Lens group configuration.
Appends an item to tags.
To override the contents of this collection use set_tags.
The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.
The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.
The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.
sourcepub fn build(self) -> Result<CreateStorageLensGroupInput, BuildError>
pub fn build(self) -> Result<CreateStorageLensGroupInput, BuildError>
Consumes the builder and constructs a CreateStorageLensGroupInput.
source§impl CreateStorageLensGroupInputBuilder
impl CreateStorageLensGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateStorageLensGroupOutput, SdkError<CreateStorageLensGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateStorageLensGroupOutput, SdkError<CreateStorageLensGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateStorageLensGroupInputBuilder
impl Clone for CreateStorageLensGroupInputBuilder
source§fn clone(&self) -> CreateStorageLensGroupInputBuilder
fn clone(&self) -> CreateStorageLensGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateStorageLensGroupInputBuilder
impl Default for CreateStorageLensGroupInputBuilder
source§fn default() -> CreateStorageLensGroupInputBuilder
fn default() -> CreateStorageLensGroupInputBuilder
source§impl PartialEq for CreateStorageLensGroupInputBuilder
impl PartialEq for CreateStorageLensGroupInputBuilder
source§fn eq(&self, other: &CreateStorageLensGroupInputBuilder) -> bool
fn eq(&self, other: &CreateStorageLensGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.