Struct aws_sdk_sagemaker::input::list_spaces_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListSpacesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Returns a list up to a specified limit.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Returns a list up to a specified limit.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The sort order for the results. The default is Ascending
.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The sort order for the results. The default is Ascending
.
sourcepub fn sort_by(self, input: SpaceSortKey) -> Self
pub fn sort_by(self, input: SpaceSortKey) -> Self
The parameter by which to sort the results. The default is CreationTime
.
sourcepub fn set_sort_by(self, input: Option<SpaceSortKey>) -> Self
pub fn set_sort_by(self, input: Option<SpaceSortKey>) -> Self
The parameter by which to sort the results. The default is CreationTime
.
sourcepub fn domain_id_equals(self, input: impl Into<String>) -> Self
pub fn domain_id_equals(self, input: impl Into<String>) -> Self
A parameter to search for the Domain ID.
sourcepub fn set_domain_id_equals(self, input: Option<String>) -> Self
pub fn set_domain_id_equals(self, input: Option<String>) -> Self
A parameter to search for the Domain ID.
sourcepub fn space_name_contains(self, input: impl Into<String>) -> Self
pub fn space_name_contains(self, input: impl Into<String>) -> Self
A parameter by which to filter the results.
sourcepub fn set_space_name_contains(self, input: Option<String>) -> Self
pub fn set_space_name_contains(self, input: Option<String>) -> Self
A parameter by which to filter the results.
sourcepub fn build(self) -> Result<ListSpacesInput, BuildError>
pub fn build(self) -> Result<ListSpacesInput, BuildError>
Consumes the builder and constructs a ListSpacesInput
.