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