Struct aws_sdk_devopsguru::operation::describe_anomaly::builders::DescribeAnomalyInputBuilder
source · #[non_exhaustive]pub struct DescribeAnomalyInputBuilder { /* private fields */ }
Expand description
A builder for DescribeAnomalyInput
.
Implementations§
source§impl DescribeAnomalyInputBuilder
impl DescribeAnomalyInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the anomaly.
This field is required.sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The ID of the member account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The ID of the member account.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The ID of the member account.
sourcepub fn build(self) -> Result<DescribeAnomalyInput, BuildError>
pub fn build(self) -> Result<DescribeAnomalyInput, BuildError>
Consumes the builder and constructs a DescribeAnomalyInput
.
source§impl DescribeAnomalyInputBuilder
impl DescribeAnomalyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeAnomalyOutput, SdkError<DescribeAnomalyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeAnomalyOutput, SdkError<DescribeAnomalyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeAnomalyInputBuilder
impl Clone for DescribeAnomalyInputBuilder
source§fn clone(&self) -> DescribeAnomalyInputBuilder
fn clone(&self) -> DescribeAnomalyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescribeAnomalyInputBuilder
impl Debug for DescribeAnomalyInputBuilder
source§impl Default for DescribeAnomalyInputBuilder
impl Default for DescribeAnomalyInputBuilder
source§fn default() -> DescribeAnomalyInputBuilder
fn default() -> DescribeAnomalyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeAnomalyInputBuilder
impl PartialEq for DescribeAnomalyInputBuilder
source§fn eq(&self, other: &DescribeAnomalyInputBuilder) -> bool
fn eq(&self, other: &DescribeAnomalyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAnomalyInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeAnomalyInputBuilder
impl RefUnwindSafe for DescribeAnomalyInputBuilder
impl Send for DescribeAnomalyInputBuilder
impl Sync for DescribeAnomalyInputBuilder
impl Unpin for DescribeAnomalyInputBuilder
impl UnwindSafe for DescribeAnomalyInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.