#[non_exhaustive]pub struct RecommendationRelatedAnomalyResourceBuilder { /* private fields */ }
Expand description
A builder for RecommendationRelatedAnomalyResource
.
Implementations§
source§impl RecommendationRelatedAnomalyResourceBuilder
impl RecommendationRelatedAnomalyResourceBuilder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the resource. Resource types take the same form that is used by Amazon Web Services CloudFormation resource type identifiers, service-provider::service-name::data-type-name
. For example, AWS::RDS::DBCluster
. For more information, see Amazon Web Services resource and property types reference in the Amazon Web Services CloudFormation User Guide.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of the resource. Resource types take the same form that is used by Amazon Web Services CloudFormation resource type identifiers, service-provider::service-name::data-type-name
. For example, AWS::RDS::DBCluster
. For more information, see Amazon Web Services resource and property types reference in the Amazon Web Services CloudFormation User Guide.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of the resource. Resource types take the same form that is used by Amazon Web Services CloudFormation resource type identifiers, service-provider::service-name::data-type-name
. For example, AWS::RDS::DBCluster
. For more information, see Amazon Web Services resource and property types reference in the Amazon Web Services CloudFormation User Guide.
sourcepub fn build(self) -> RecommendationRelatedAnomalyResource
pub fn build(self) -> RecommendationRelatedAnomalyResource
Consumes the builder and constructs a RecommendationRelatedAnomalyResource
.
Trait Implementations§
source§impl Clone for RecommendationRelatedAnomalyResourceBuilder
impl Clone for RecommendationRelatedAnomalyResourceBuilder
source§fn clone(&self) -> RecommendationRelatedAnomalyResourceBuilder
fn clone(&self) -> RecommendationRelatedAnomalyResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecommendationRelatedAnomalyResourceBuilder
impl Default for RecommendationRelatedAnomalyResourceBuilder
source§fn default() -> RecommendationRelatedAnomalyResourceBuilder
fn default() -> RecommendationRelatedAnomalyResourceBuilder
source§impl PartialEq for RecommendationRelatedAnomalyResourceBuilder
impl PartialEq for RecommendationRelatedAnomalyResourceBuilder
source§fn eq(&self, other: &RecommendationRelatedAnomalyResourceBuilder) -> bool
fn eq(&self, other: &RecommendationRelatedAnomalyResourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationRelatedAnomalyResourceBuilder
Auto Trait Implementations§
impl Freeze for RecommendationRelatedAnomalyResourceBuilder
impl RefUnwindSafe for RecommendationRelatedAnomalyResourceBuilder
impl Send for RecommendationRelatedAnomalyResourceBuilder
impl Sync for RecommendationRelatedAnomalyResourceBuilder
impl Unpin for RecommendationRelatedAnomalyResourceBuilder
impl UnwindSafe for RecommendationRelatedAnomalyResourceBuilder
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