pub struct ListHubsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListHubs
.
List all existing hubs.
Hub APIs are only callable through SageMaker Studio.
Implementations§
source§impl ListHubsFluentBuilder
impl ListHubsFluentBuilder
sourcepub fn as_input(&self) -> &ListHubsInputBuilder
pub fn as_input(&self) -> &ListHubsInputBuilder
Access the ListHubs as a reference.
sourcepub async fn send(
self
) -> Result<ListHubsOutput, SdkError<ListHubsError, HttpResponse>>
pub async fn send( self ) -> Result<ListHubsOutput, SdkError<ListHubsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListHubsOutput, ListHubsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListHubsOutput, ListHubsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name_contains(self, input: impl Into<String>) -> Self
pub fn name_contains(self, input: impl Into<String>) -> Self
Only list hubs with names that contain the specified string.
sourcepub fn set_name_contains(self, input: Option<String>) -> Self
pub fn set_name_contains(self, input: Option<String>) -> Self
Only list hubs with names that contain the specified string.
sourcepub fn get_name_contains(&self) -> &Option<String>
pub fn get_name_contains(&self) -> &Option<String>
Only list hubs with names that contain the specified string.
sourcepub fn creation_time_before(self, input: DateTime) -> Self
pub fn creation_time_before(self, input: DateTime) -> Self
Only list hubs that were created before the time specified.
sourcepub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
Only list hubs that were created before the time specified.
sourcepub fn get_creation_time_before(&self) -> &Option<DateTime>
pub fn get_creation_time_before(&self) -> &Option<DateTime>
Only list hubs that were created before the time specified.
sourcepub fn creation_time_after(self, input: DateTime) -> Self
pub fn creation_time_after(self, input: DateTime) -> Self
Only list hubs that were created after the time specified.
sourcepub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
Only list hubs that were created after the time specified.
sourcepub fn get_creation_time_after(&self) -> &Option<DateTime>
pub fn get_creation_time_after(&self) -> &Option<DateTime>
Only list hubs that were created after the time specified.
sourcepub fn last_modified_time_before(self, input: DateTime) -> Self
pub fn last_modified_time_before(self, input: DateTime) -> Self
Only list hubs that were last modified before the time specified.
sourcepub fn set_last_modified_time_before(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time_before(self, input: Option<DateTime>) -> Self
Only list hubs that were last modified before the time specified.
sourcepub fn get_last_modified_time_before(&self) -> &Option<DateTime>
pub fn get_last_modified_time_before(&self) -> &Option<DateTime>
Only list hubs that were last modified before the time specified.
sourcepub fn last_modified_time_after(self, input: DateTime) -> Self
pub fn last_modified_time_after(self, input: DateTime) -> Self
Only list hubs that were last modified after the time specified.
sourcepub fn set_last_modified_time_after(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time_after(self, input: Option<DateTime>) -> Self
Only list hubs that were last modified after the time specified.
sourcepub fn get_last_modified_time_after(&self) -> &Option<DateTime>
pub fn get_last_modified_time_after(&self) -> &Option<DateTime>
Only list hubs that were last modified after the time specified.
sourcepub fn set_sort_by(self, input: Option<HubSortBy>) -> Self
pub fn set_sort_by(self, input: Option<HubSortBy>) -> Self
Sort hubs by either name or creation time.
sourcepub fn get_sort_by(&self) -> &Option<HubSortBy>
pub fn get_sort_by(&self) -> &Option<HubSortBy>
Sort hubs by either name or creation time.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
Sort hubs by ascending or descending order.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
Sort hubs by ascending or descending order.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
Sort hubs by ascending or descending order.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of hubs to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of hubs to list.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of hubs to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the response to a previous ListHubs
request was truncated, the response includes a NextToken
. To retrieve the next set of hubs, use the token in the next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the response to a previous ListHubs
request was truncated, the response includes a NextToken
. To retrieve the next set of hubs, use the token in the next request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the response to a previous ListHubs
request was truncated, the response includes a NextToken
. To retrieve the next set of hubs, use the token in the next request.
Trait Implementations§
source§impl Clone for ListHubsFluentBuilder
impl Clone for ListHubsFluentBuilder
source§fn clone(&self) -> ListHubsFluentBuilder
fn clone(&self) -> ListHubsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more