#[non_exhaustive]pub struct CreateTrialInputBuilder { /* private fields */ }
Expand description
A builder for CreateTrialInput
.
Implementations§
source§impl CreateTrialInputBuilder
impl CreateTrialInputBuilder
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. The name must be unique in your Amazon Web Services account and is not case-sensitive.
This field is required.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. The name must be unique in your Amazon Web Services account and is not case-sensitive.
sourcepub fn get_trial_name(&self) -> &Option<String>
pub fn get_trial_name(&self) -> &Option<String>
The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.
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.
sourcepub fn experiment_name(self, input: impl Into<String>) -> Self
pub fn experiment_name(self, input: impl Into<String>) -> Self
The name of the experiment to associate the trial with.
This field is required.sourcepub fn set_experiment_name(self, input: Option<String>) -> Self
pub fn set_experiment_name(self, input: Option<String>) -> Self
The name of the experiment to associate the trial with.
sourcepub fn get_experiment_name(&self) -> &Option<String>
pub fn get_experiment_name(&self) -> &Option<String>
The name of the experiment to associate the trial with.
sourcepub fn metadata_properties(self, input: MetadataProperties) -> Self
pub fn metadata_properties(self, input: MetadataProperties) -> Self
Metadata properties of the tracking entity, trial, or trial component.
sourcepub fn set_metadata_properties(self, input: Option<MetadataProperties>) -> Self
pub fn set_metadata_properties(self, input: Option<MetadataProperties>) -> Self
Metadata properties of the tracking entity, trial, or trial component.
sourcepub fn get_metadata_properties(&self) -> &Option<MetadataProperties>
pub fn get_metadata_properties(&self) -> &Option<MetadataProperties>
Metadata properties of the tracking entity, trial, or trial component.
A list of tags to associate with the trial. You can use Search API to search on the tags.
A list of tags to associate with the trial. You can use Search API to search on the tags.
sourcepub fn build(self) -> Result<CreateTrialInput, BuildError>
pub fn build(self) -> Result<CreateTrialInput, BuildError>
Consumes the builder and constructs a CreateTrialInput
.
source§impl CreateTrialInputBuilder
impl CreateTrialInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTrialOutput, SdkError<CreateTrialError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTrialOutput, SdkError<CreateTrialError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTrialInputBuilder
impl Clone for CreateTrialInputBuilder
source§fn clone(&self) -> CreateTrialInputBuilder
fn clone(&self) -> CreateTrialInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTrialInputBuilder
impl Debug for CreateTrialInputBuilder
source§impl Default for CreateTrialInputBuilder
impl Default for CreateTrialInputBuilder
source§fn default() -> CreateTrialInputBuilder
fn default() -> CreateTrialInputBuilder
source§impl PartialEq for CreateTrialInputBuilder
impl PartialEq for CreateTrialInputBuilder
source§fn eq(&self, other: &CreateTrialInputBuilder) -> bool
fn eq(&self, other: &CreateTrialInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.