Struct aws_sdk_sagemaker::client::fluent_builders::UpdateTrial
source · pub struct UpdateTrial { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTrial
.
Updates the display name of a trial.
Implementations§
source§impl UpdateTrial
impl UpdateTrial
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateTrial, AwsResponseRetryClassifier>, SdkError<UpdateTrialError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateTrial, AwsResponseRetryClassifier>, SdkError<UpdateTrialError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<UpdateTrialOutput, SdkError<UpdateTrialError>>
pub async fn send(self) -> Result<UpdateTrialOutput, SdkError<UpdateTrialError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
Trait Implementations§
source§impl Clone for UpdateTrial
impl Clone for UpdateTrial
source§fn clone(&self) -> UpdateTrial
fn clone(&self) -> UpdateTrial
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more