Struct aws_sdk_iotthingsgraph::operation::search_system_instances::builders::SearchSystemInstancesFluentBuilder
source · pub struct SearchSystemInstancesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to SearchSystemInstances
.
Searches for system instances in the user's account.
Implementations§
source§impl SearchSystemInstancesFluentBuilder
impl SearchSystemInstancesFluentBuilder
sourcepub fn as_input(&self) -> &SearchSystemInstancesInputBuilder
pub fn as_input(&self) -> &SearchSystemInstancesInputBuilder
Access the SearchSystemInstances as a reference.
sourcepub async fn send(
self
) -> Result<SearchSystemInstancesOutput, SdkError<SearchSystemInstancesError, HttpResponse>>
pub async fn send( self ) -> Result<SearchSystemInstancesOutput, SdkError<SearchSystemInstancesError, 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<SearchSystemInstancesOutput, SearchSystemInstancesError, Self>
pub fn customize( self ) -> CustomizableOperation<SearchSystemInstancesOutput, SearchSystemInstancesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> SearchSystemInstancesPaginator
pub fn into_paginator(self) -> SearchSystemInstancesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn filters(self, input: SystemInstanceFilter) -> Self
pub fn filters(self, input: SystemInstanceFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
Optional filter to apply to the search. Valid filters are SYSTEM_TEMPLATE_ID
, STATUS
, and GREENGRASS_GROUP_NAME
.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
sourcepub fn set_filters(self, input: Option<Vec<SystemInstanceFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<SystemInstanceFilter>>) -> Self
Optional filter to apply to the search. Valid filters are SYSTEM_TEMPLATE_ID
, STATUS
, and GREENGRASS_GROUP_NAME
.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
sourcepub fn get_filters(&self) -> &Option<Vec<SystemInstanceFilter>>
pub fn get_filters(&self) -> &Option<Vec<SystemInstanceFilter>>
Optional filter to apply to the search. Valid filters are SYSTEM_TEMPLATE_ID
, STATUS
, and GREENGRASS_GROUP_NAME
.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in the response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in the response.
Trait Implementations§
source§impl Clone for SearchSystemInstancesFluentBuilder
impl Clone for SearchSystemInstancesFluentBuilder
source§fn clone(&self) -> SearchSystemInstancesFluentBuilder
fn clone(&self) -> SearchSystemInstancesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more