#[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
impl StructuralPartialEq for CreateTrialInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTrialInputBuilder
impl RefUnwindSafe for CreateTrialInputBuilder
impl Send for CreateTrialInputBuilder
impl Sync for CreateTrialInputBuilder
impl Unpin for CreateTrialInputBuilder
impl UnwindSafe for CreateTrialInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more