Struct aws_sdk_sagemaker::input::create_trial_component_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for CreateTrialComponentInput
Implementations
The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.
The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.
The name of the component as displayed. The name doesn't need to be unique. If
DisplayName
isn't specified, TrialComponentName
is
displayed.
The name of the component as displayed. The name doesn't need to be unique. If
DisplayName
isn't specified, TrialComponentName
is
displayed.
The status of the component. States include:
-
InProgress
-
Completed
-
Failed
The status of the component. States include:
-
InProgress
-
Completed
-
Failed
When the component started.
When the component started.
When the component ended.
pub fn parameters(
self,
k: impl Into<String>,
v: impl Into<TrialComponentParameterValue>
) -> Self
pub fn parameters(
self,
k: impl Into<String>,
v: impl Into<TrialComponentParameterValue>
) -> Self
Adds a key-value pair to parameters
.
To override the contents of this collection use set_parameters
.
The hyperparameters for the component.
pub fn set_parameters(
self,
input: Option<HashMap<String, TrialComponentParameterValue>>
) -> Self
pub fn set_parameters(
self,
input: Option<HashMap<String, TrialComponentParameterValue>>
) -> Self
The hyperparameters for the component.
pub fn input_artifacts(
self,
k: impl Into<String>,
v: impl Into<TrialComponentArtifact>
) -> Self
pub fn input_artifacts(
self,
k: impl Into<String>,
v: impl Into<TrialComponentArtifact>
) -> Self
Adds a key-value pair to input_artifacts
.
To override the contents of this collection use set_input_artifacts
.
The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.
pub fn set_input_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
pub fn set_input_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.
pub fn output_artifacts(
self,
k: impl Into<String>,
v: impl Into<TrialComponentArtifact>
) -> Self
pub fn output_artifacts(
self,
k: impl Into<String>,
v: impl Into<TrialComponentArtifact>
) -> Self
Adds a key-value pair to output_artifacts
.
To override the contents of this collection use set_output_artifacts
.
The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.
pub fn set_output_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
pub fn set_output_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.
Metadata properties of the tracking entity, trial, or trial component.
Metadata properties of the tracking entity, trial, or trial component.
A list of tags to associate with the component. You can use Search API to search on the tags.
Consumes the builder and constructs a CreateTrialComponentInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more