Struct aws_sdk_sagemaker::input::update_trial_component_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for UpdateTrialComponentInput
Implementations
The name of the component to update.
The name of the component to update.
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 new status of the component.
The new status of the component.
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
.
Replaces all of the component's hyperparameters with the specified hyperparameters.
pub fn set_parameters(
self,
input: Option<HashMap<String, TrialComponentParameterValue>>
) -> Self
pub fn set_parameters(
self,
input: Option<HashMap<String, TrialComponentParameterValue>>
) -> Self
Replaces all of the component's hyperparameters with the specified hyperparameters.
Appends an item to parameters_to_remove
.
To override the contents of this collection use set_parameters_to_remove
.
The hyperparameters to remove from the component.
The hyperparameters to remove from 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
.
Replaces all of the component's input artifacts with the specified artifacts.
pub fn set_input_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
pub fn set_input_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
Replaces all of the component's input artifacts with the specified artifacts.
Appends an item to input_artifacts_to_remove
.
To override the contents of this collection use set_input_artifacts_to_remove
.
The input artifacts to remove from the component.
The input artifacts to remove from the component.
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
.
Replaces all of the component's output artifacts with the specified artifacts.
pub fn set_output_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
pub fn set_output_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
Replaces all of the component's output artifacts with the specified artifacts.
Appends an item to output_artifacts_to_remove
.
To override the contents of this collection use set_output_artifacts_to_remove
.
The output artifacts to remove from the component.
The output artifacts to remove from the component.
Consumes the builder and constructs a UpdateTrialComponentInput
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