#[non_exhaustive]pub struct ListTrialsInputBuilder { /* private fields */ }
Expand description
A builder for ListTrialsInput
.
Implementations§
source§impl ListTrialsInputBuilder
impl ListTrialsInputBuilder
sourcepub fn experiment_name(self, input: impl Into<String>) -> Self
pub fn experiment_name(self, input: impl Into<String>) -> Self
A filter that returns only trials that are part of the specified experiment.
sourcepub fn set_experiment_name(self, input: Option<String>) -> Self
pub fn set_experiment_name(self, input: Option<String>) -> Self
A filter that returns only trials that are part of the specified experiment.
sourcepub fn get_experiment_name(&self) -> &Option<String>
pub fn get_experiment_name(&self) -> &Option<String>
A filter that returns only trials that are part of the specified experiment.
sourcepub fn trial_component_name(self, input: impl Into<String>) -> Self
pub fn trial_component_name(self, input: impl Into<String>) -> Self
A filter that returns only trials that are associated with the specified trial component.
sourcepub fn set_trial_component_name(self, input: Option<String>) -> Self
pub fn set_trial_component_name(self, input: Option<String>) -> Self
A filter that returns only trials that are associated with the specified trial component.
sourcepub fn get_trial_component_name(&self) -> &Option<String>
pub fn get_trial_component_name(&self) -> &Option<String>
A filter that returns only trials that are associated with the specified trial component.
sourcepub fn created_after(self, input: DateTime) -> Self
pub fn created_after(self, input: DateTime) -> Self
A filter that returns only trials created after the specified time.
sourcepub fn set_created_after(self, input: Option<DateTime>) -> Self
pub fn set_created_after(self, input: Option<DateTime>) -> Self
A filter that returns only trials created after the specified time.
sourcepub fn get_created_after(&self) -> &Option<DateTime>
pub fn get_created_after(&self) -> &Option<DateTime>
A filter that returns only trials created after the specified time.
sourcepub fn created_before(self, input: DateTime) -> Self
pub fn created_before(self, input: DateTime) -> Self
A filter that returns only trials created before the specified time.
sourcepub fn set_created_before(self, input: Option<DateTime>) -> Self
pub fn set_created_before(self, input: Option<DateTime>) -> Self
A filter that returns only trials created before the specified time.
sourcepub fn get_created_before(&self) -> &Option<DateTime>
pub fn get_created_before(&self) -> &Option<DateTime>
A filter that returns only trials created before the specified time.
sourcepub fn sort_by(self, input: SortTrialsBy) -> Self
pub fn sort_by(self, input: SortTrialsBy) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn set_sort_by(self, input: Option<SortTrialsBy>) -> Self
pub fn set_sort_by(self, input: Option<SortTrialsBy>) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn get_sort_by(&self) -> &Option<SortTrialsBy>
pub fn get_sort_by(&self) -> &Option<SortTrialsBy>
The property used to sort results. The default value is CreationTime
.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The sort order. The default value is Descending
.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The sort order. The default value is Descending
.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
The sort order. The default value is Descending
.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of trials to return in the response. The default value is 10.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of trials to return in the response. The default value is 10.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of trials to return in the response. The default value is 10.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous call to ListTrials
didn't return the full set of trials, the call returns a token for getting the next set of trials.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous call to ListTrials
didn't return the full set of trials, the call returns a token for getting the next set of trials.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous call to ListTrials
didn't return the full set of trials, the call returns a token for getting the next set of trials.
sourcepub fn build(self) -> Result<ListTrialsInput, BuildError>
pub fn build(self) -> Result<ListTrialsInput, BuildError>
Consumes the builder and constructs a ListTrialsInput
.
source§impl ListTrialsInputBuilder
impl ListTrialsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTrialsOutput, SdkError<ListTrialsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTrialsOutput, SdkError<ListTrialsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTrialsInputBuilder
impl Clone for ListTrialsInputBuilder
source§fn clone(&self) -> ListTrialsInputBuilder
fn clone(&self) -> ListTrialsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTrialsInputBuilder
impl Debug for ListTrialsInputBuilder
source§impl Default for ListTrialsInputBuilder
impl Default for ListTrialsInputBuilder
source§fn default() -> ListTrialsInputBuilder
fn default() -> ListTrialsInputBuilder
source§impl PartialEq<ListTrialsInputBuilder> for ListTrialsInputBuilder
impl PartialEq<ListTrialsInputBuilder> for ListTrialsInputBuilder
source§fn eq(&self, other: &ListTrialsInputBuilder) -> bool
fn eq(&self, other: &ListTrialsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.