Struct aws_sdk_s3control::operation::get_storage_lens_group::builders::GetStorageLensGroupInputBuilder
source · #[non_exhaustive]pub struct GetStorageLensGroupInputBuilder { /* private fields */ }Expand description
A builder for GetStorageLensGroupInput.
Implementations§
source§impl GetStorageLensGroupInputBuilder
impl GetStorageLensGroupInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Storage Lens group that you're trying to retrieve the configuration details for.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Storage Lens group that you're trying to retrieve the configuration details for.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the Storage Lens group that you're trying to retrieve the configuration details for.
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 associated with the Storage Lens group that you're trying to retrieve the details for.
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 associated with the Storage Lens group that you're trying to retrieve the details for.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID associated with the Storage Lens group that you're trying to retrieve the details for.
sourcepub fn build(self) -> Result<GetStorageLensGroupInput, BuildError>
pub fn build(self) -> Result<GetStorageLensGroupInput, BuildError>
Consumes the builder and constructs a GetStorageLensGroupInput.
source§impl GetStorageLensGroupInputBuilder
impl GetStorageLensGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetStorageLensGroupOutput, SdkError<GetStorageLensGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetStorageLensGroupOutput, SdkError<GetStorageLensGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetStorageLensGroupInputBuilder
impl Clone for GetStorageLensGroupInputBuilder
source§fn clone(&self) -> GetStorageLensGroupInputBuilder
fn clone(&self) -> GetStorageLensGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetStorageLensGroupInputBuilder
impl Default for GetStorageLensGroupInputBuilder
source§fn default() -> GetStorageLensGroupInputBuilder
fn default() -> GetStorageLensGroupInputBuilder
source§impl PartialEq for GetStorageLensGroupInputBuilder
impl PartialEq for GetStorageLensGroupInputBuilder
source§fn eq(&self, other: &GetStorageLensGroupInputBuilder) -> bool
fn eq(&self, other: &GetStorageLensGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetStorageLensGroupInputBuilder
Auto Trait Implementations§
impl Freeze for GetStorageLensGroupInputBuilder
impl RefUnwindSafe for GetStorageLensGroupInputBuilder
impl Send for GetStorageLensGroupInputBuilder
impl Sync for GetStorageLensGroupInputBuilder
impl Unpin for GetStorageLensGroupInputBuilder
impl UnwindSafe for GetStorageLensGroupInputBuilder
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