Struct aws_sdk_iotthingsgraph::operation::search_system_instances::builders::SearchSystemInstancesInputBuilder
source · #[non_exhaustive]pub struct SearchSystemInstancesInputBuilder { /* private fields */ }
Expand description
A builder for SearchSystemInstancesInput
.
Implementations§
source§impl SearchSystemInstancesInputBuilder
impl SearchSystemInstancesInputBuilder
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.
sourcepub fn build(self) -> Result<SearchSystemInstancesInput, BuildError>
pub fn build(self) -> Result<SearchSystemInstancesInput, BuildError>
Consumes the builder and constructs a SearchSystemInstancesInput
.
source§impl SearchSystemInstancesInputBuilder
impl SearchSystemInstancesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SearchSystemInstancesOutput, SdkError<SearchSystemInstancesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SearchSystemInstancesOutput, SdkError<SearchSystemInstancesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchSystemInstancesInputBuilder
impl Clone for SearchSystemInstancesInputBuilder
source§fn clone(&self) -> SearchSystemInstancesInputBuilder
fn clone(&self) -> SearchSystemInstancesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SearchSystemInstancesInputBuilder
impl Default for SearchSystemInstancesInputBuilder
source§fn default() -> SearchSystemInstancesInputBuilder
fn default() -> SearchSystemInstancesInputBuilder
source§impl PartialEq for SearchSystemInstancesInputBuilder
impl PartialEq for SearchSystemInstancesInputBuilder
source§fn eq(&self, other: &SearchSystemInstancesInputBuilder) -> bool
fn eq(&self, other: &SearchSystemInstancesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchSystemInstancesInputBuilder
Auto Trait Implementations§
impl Freeze for SearchSystemInstancesInputBuilder
impl RefUnwindSafe for SearchSystemInstancesInputBuilder
impl Send for SearchSystemInstancesInputBuilder
impl Sync for SearchSystemInstancesInputBuilder
impl Unpin for SearchSystemInstancesInputBuilder
impl UnwindSafe for SearchSystemInstancesInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more