Struct aws_sdk_sagemaker::model::metrics_source::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MetricsSource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The metric source content type.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The metric source content type.
sourcepub fn content_digest(self, input: impl Into<String>) -> Self
pub fn content_digest(self, input: impl Into<String>) -> Self
The hash key used for the metrics source.
sourcepub fn set_content_digest(self, input: Option<String>) -> Self
pub fn set_content_digest(self, input: Option<String>) -> Self
The hash key used for the metrics source.
sourcepub fn set_s3_uri(self, input: Option<String>) -> Self
pub fn set_s3_uri(self, input: Option<String>) -> Self
The S3 URI for the metrics source.
sourcepub fn build(self) -> MetricsSource
pub fn build(self) -> MetricsSource
Consumes the builder and constructs a MetricsSource
.