Struct aws_sdk_sagemaker::input::list_experiments_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListExperimentsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn created_after(self, input: DateTime) -> Self
pub fn created_after(self, input: DateTime) -> Self
A filter that returns only experiments 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 experiments 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 experiments 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 experiments created before the specified time.
sourcepub fn sort_by(self, input: SortExperimentsBy) -> Self
pub fn sort_by(self, input: SortExperimentsBy) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn set_sort_by(self, input: Option<SortExperimentsBy>) -> Self
pub fn set_sort_by(self, input: Option<SortExperimentsBy>) -> Self
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 next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous call to ListExperiments
didn't return the full set of experiments, the call returns a token for getting the next set of experiments.
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 ListExperiments
didn't return the full set of experiments, the call returns a token for getting the next set of experiments.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of experiments 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 experiments to return in the response. The default value is 10.
sourcepub fn build(self) -> Result<ListExperimentsInput, BuildError>
pub fn build(self) -> Result<ListExperimentsInput, BuildError>
Consumes the builder and constructs a ListExperimentsInput
.