Struct aws_sdk_sagemaker::types::builders::MetricsSourceBuilder
source · #[non_exhaustive]pub struct MetricsSourceBuilder { /* private fields */ }
Expand description
A builder for MetricsSource
.
Implementations§
source§impl MetricsSourceBuilder
impl MetricsSourceBuilder
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
.
Trait Implementations§
source§impl Clone for MetricsSourceBuilder
impl Clone for MetricsSourceBuilder
source§fn clone(&self) -> MetricsSourceBuilder
fn clone(&self) -> MetricsSourceBuilder
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 MetricsSourceBuilder
impl Debug for MetricsSourceBuilder
source§impl Default for MetricsSourceBuilder
impl Default for MetricsSourceBuilder
source§fn default() -> MetricsSourceBuilder
fn default() -> MetricsSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<MetricsSourceBuilder> for MetricsSourceBuilder
impl PartialEq<MetricsSourceBuilder> for MetricsSourceBuilder
source§fn eq(&self, other: &MetricsSourceBuilder) -> bool
fn eq(&self, other: &MetricsSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.