Struct aws_sdk_sagemaker::operation::list_trial_components::builders::ListTrialComponentsInputBuilder
source · #[non_exhaustive]pub struct ListTrialComponentsInputBuilder { /* private fields */ }
Expand description
A builder for ListTrialComponentsInput
.
Implementations§
source§impl ListTrialComponentsInputBuilder
impl ListTrialComponentsInputBuilder
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 components that are part of the specified experiment. If you specify ExperimentName
, you can't filter by SourceArn
or TrialName
.
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 components that are part of the specified experiment. If you specify ExperimentName
, you can't filter by SourceArn
or TrialName
.
sourcepub fn get_experiment_name(&self) -> &Option<String>
pub fn get_experiment_name(&self) -> &Option<String>
A filter that returns only components that are part of the specified experiment. If you specify ExperimentName
, you can't filter by SourceArn
or TrialName
.
sourcepub fn trial_name(self, input: impl Into<String>) -> Self
pub fn trial_name(self, input: impl Into<String>) -> Self
A filter that returns only components that are part of the specified trial. If you specify TrialName
, you can't filter by ExperimentName
or SourceArn
.
sourcepub fn set_trial_name(self, input: Option<String>) -> Self
pub fn set_trial_name(self, input: Option<String>) -> Self
A filter that returns only components that are part of the specified trial. If you specify TrialName
, you can't filter by ExperimentName
or SourceArn
.
sourcepub fn get_trial_name(&self) -> &Option<String>
pub fn get_trial_name(&self) -> &Option<String>
A filter that returns only components that are part of the specified trial. If you specify TrialName
, you can't filter by ExperimentName
or SourceArn
.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
A filter that returns only components that have the specified source Amazon Resource Name (ARN). If you specify SourceArn
, you can't filter by ExperimentName
or TrialName
.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
A filter that returns only components that have the specified source Amazon Resource Name (ARN). If you specify SourceArn
, you can't filter by ExperimentName
or TrialName
.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
A filter that returns only components that have the specified source Amazon Resource Name (ARN). If you specify SourceArn
, you can't filter by ExperimentName
or TrialName
.
sourcepub fn created_after(self, input: DateTime) -> Self
pub fn created_after(self, input: DateTime) -> Self
A filter that returns only components 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 components 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 components 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 components 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 components 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 components created before the specified time.
sourcepub fn sort_by(self, input: SortTrialComponentsBy) -> Self
pub fn sort_by(self, input: SortTrialComponentsBy) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn set_sort_by(self, input: Option<SortTrialComponentsBy>) -> Self
pub fn set_sort_by(self, input: Option<SortTrialComponentsBy>) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn get_sort_by(&self) -> &Option<SortTrialComponentsBy>
pub fn get_sort_by(&self) -> &Option<SortTrialComponentsBy>
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 components 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 components 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 components 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 ListTrialComponents
didn't return the full set of components, the call returns a token for getting the next set of components.
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 ListTrialComponents
didn't return the full set of components, the call returns a token for getting the next set of components.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous call to ListTrialComponents
didn't return the full set of components, the call returns a token for getting the next set of components.
sourcepub fn build(self) -> Result<ListTrialComponentsInput, BuildError>
pub fn build(self) -> Result<ListTrialComponentsInput, BuildError>
Consumes the builder and constructs a ListTrialComponentsInput
.
source§impl ListTrialComponentsInputBuilder
impl ListTrialComponentsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTrialComponentsOutput, SdkError<ListTrialComponentsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTrialComponentsOutput, SdkError<ListTrialComponentsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTrialComponentsInputBuilder
impl Clone for ListTrialComponentsInputBuilder
source§fn clone(&self) -> ListTrialComponentsInputBuilder
fn clone(&self) -> ListTrialComponentsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTrialComponentsInputBuilder
impl Default for ListTrialComponentsInputBuilder
source§fn default() -> ListTrialComponentsInputBuilder
fn default() -> ListTrialComponentsInputBuilder
source§impl PartialEq for ListTrialComponentsInputBuilder
impl PartialEq for ListTrialComponentsInputBuilder
source§fn eq(&self, other: &ListTrialComponentsInputBuilder) -> bool
fn eq(&self, other: &ListTrialComponentsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.