Struct aws_sdk_devopsguru::model::anomaly_source_metadata::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AnomalySourceMetadata
.
Implementations§
source§impl Builder
impl Builder
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
.