pub struct UpdateTrialFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTrial
.
Updates the display name of a trial.
Implementations§
source§impl UpdateTrialFluentBuilder
impl UpdateTrialFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTrialInputBuilder
pub fn as_input(&self) -> &UpdateTrialInputBuilder
Access the UpdateTrial as a reference.
sourcepub async fn send(
self
) -> Result<UpdateTrialOutput, SdkError<UpdateTrialError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateTrialOutput, SdkError<UpdateTrialError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<UpdateTrialOutput, UpdateTrialError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateTrialOutput, UpdateTrialError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_trial_name(&self) -> &Option<String>
pub fn get_trial_name(&self) -> &Option<String>
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 get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
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 UpdateTrialFluentBuilder
impl Clone for UpdateTrialFluentBuilder
source§fn clone(&self) -> UpdateTrialFluentBuilder
fn clone(&self) -> UpdateTrialFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more