Struct aws_sdk_devopsguru::types::builders::AnomalyResourceBuilder
source · #[non_exhaustive]pub struct AnomalyResourceBuilder { /* private fields */ }
Expand description
A builder for AnomalyResource
.
Implementations§
source§impl AnomalyResourceBuilder
impl AnomalyResourceBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon Web Services resource.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon Web Services resource.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the Amazon Web Services resource.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of the Amazon Web Services resource.
sourcepub fn build(self) -> AnomalyResource
pub fn build(self) -> AnomalyResource
Consumes the builder and constructs a AnomalyResource
.
Trait Implementations§
source§impl Clone for AnomalyResourceBuilder
impl Clone for AnomalyResourceBuilder
source§fn clone(&self) -> AnomalyResourceBuilder
fn clone(&self) -> AnomalyResourceBuilder
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 AnomalyResourceBuilder
impl Debug for AnomalyResourceBuilder
source§impl Default for AnomalyResourceBuilder
impl Default for AnomalyResourceBuilder
source§fn default() -> AnomalyResourceBuilder
fn default() -> AnomalyResourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AnomalyResourceBuilder
impl PartialEq for AnomalyResourceBuilder
source§fn eq(&self, other: &AnomalyResourceBuilder) -> bool
fn eq(&self, other: &AnomalyResourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnomalyResourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AnomalyResourceBuilder
impl Send for AnomalyResourceBuilder
impl Sync for AnomalyResourceBuilder
impl Unpin for AnomalyResourceBuilder
impl UnwindSafe for AnomalyResourceBuilder
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>
Creates a shared type from an unshared type.