Struct aws_sdk_sagemaker::model::trial_component_artifact::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TrialComponentArtifact
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn media_type(self, input: impl Into<String>) -> Self
pub fn media_type(self, input: impl Into<String>) -> Self
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
sourcepub fn set_media_type(self, input: Option<String>) -> Self
pub fn set_media_type(self, input: Option<String>) -> Self
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
sourcepub fn build(self) -> TrialComponentArtifact
pub fn build(self) -> TrialComponentArtifact
Consumes the builder and constructs a TrialComponentArtifact
.