Struct aws_sdk_sagemaker::model::TrialComponentArtifact
source · #[non_exhaustive]pub struct TrialComponentArtifact { /* private fields */ }
Expand description
Represents an input or output artifact of a trial component. You specify TrialComponentArtifact
as part of the InputArtifacts
and OutputArtifacts
parameters in the CreateTrialComponent
request.
Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. Examples of output artifacts are metrics, snapshots, logs, and images.
Implementations§
source§impl TrialComponentArtifact
impl TrialComponentArtifact
sourcepub fn media_type(&self) -> Option<&str>
pub fn media_type(&self) -> Option<&str>
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.
source§impl TrialComponentArtifact
impl TrialComponentArtifact
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TrialComponentArtifact
.
Trait Implementations§
source§impl Clone for TrialComponentArtifact
impl Clone for TrialComponentArtifact
source§fn clone(&self) -> TrialComponentArtifact
fn clone(&self) -> TrialComponentArtifact
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 TrialComponentArtifact
impl Debug for TrialComponentArtifact
source§impl PartialEq<TrialComponentArtifact> for TrialComponentArtifact
impl PartialEq<TrialComponentArtifact> for TrialComponentArtifact
source§fn eq(&self, other: &TrialComponentArtifact) -> bool
fn eq(&self, other: &TrialComponentArtifact) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.