Struct aws_sdk_sagemaker::input::update_trial_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateTrialInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn trial_name(self, input: impl Into<String>) -> Self
pub fn trial_name(self, input: impl Into<String>) -> Self
The name of the trial to update.
sourcepub fn set_trial_name(self, input: Option<String>) -> Self
pub fn set_trial_name(self, input: Option<String>) -> Self
The name of the trial to update.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name of the trial as displayed. The name doesn't need to be unique. If DisplayName
isn't specified, TrialName
is displayed.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name of the trial as displayed. The name doesn't need to be unique. If DisplayName
isn't specified, TrialName
is displayed.
sourcepub fn build(self) -> Result<UpdateTrialInput, BuildError>
pub fn build(self) -> Result<UpdateTrialInput, BuildError>
Consumes the builder and constructs a UpdateTrialInput
.