#[non_exhaustive]pub struct AnomalySourceMetadataBuilder { /* private fields */ }
Expand description
A builder for AnomalySourceMetadata
.
Implementations§
source§impl AnomalySourceMetadataBuilder
impl AnomalySourceMetadataBuilder
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The source of the anomaly.
sourcepub fn source_resource_name(self, input: impl Into<String>) -> Self
pub fn source_resource_name(self, input: impl Into<String>) -> Self
The name of the anomaly's resource.
sourcepub fn set_source_resource_name(self, input: Option<String>) -> Self
pub fn set_source_resource_name(self, input: Option<String>) -> Self
The name of the anomaly's resource.
sourcepub fn source_resource_type(self, input: impl Into<String>) -> Self
pub fn source_resource_type(self, input: impl Into<String>) -> Self
The anomaly's resource type.
sourcepub fn set_source_resource_type(self, input: Option<String>) -> Self
pub fn set_source_resource_type(self, input: Option<String>) -> Self
The anomaly's resource type.
sourcepub fn build(self) -> AnomalySourceMetadata
pub fn build(self) -> AnomalySourceMetadata
Consumes the builder and constructs a AnomalySourceMetadata
.
Trait Implementations§
source§impl Clone for AnomalySourceMetadataBuilder
impl Clone for AnomalySourceMetadataBuilder
source§fn clone(&self) -> AnomalySourceMetadataBuilder
fn clone(&self) -> AnomalySourceMetadataBuilder
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 AnomalySourceMetadataBuilder
impl Debug for AnomalySourceMetadataBuilder
source§impl Default for AnomalySourceMetadataBuilder
impl Default for AnomalySourceMetadataBuilder
source§fn default() -> AnomalySourceMetadataBuilder
fn default() -> AnomalySourceMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AnomalySourceMetadataBuilder> for AnomalySourceMetadataBuilder
impl PartialEq<AnomalySourceMetadataBuilder> for AnomalySourceMetadataBuilder
source§fn eq(&self, other: &AnomalySourceMetadataBuilder) -> bool
fn eq(&self, other: &AnomalySourceMetadataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.