#[non_exhaustive]pub struct SearchIndexOutputBuilder { /* private fields */ }
Expand description
A builder for SearchIndexOutput
.
Implementations§
source§impl SearchIndexOutputBuilder
impl SearchIndexOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token used to get the next set of results, or null
if there are no additional results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token used to get the next set of results, or null
if there are no additional results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token used to get the next set of results, or null
if there are no additional results.
sourcepub fn things(self, input: ThingDocument) -> Self
pub fn things(self, input: ThingDocument) -> Self
Appends an item to things
.
To override the contents of this collection use set_things
.
The things that match the search query.
sourcepub fn set_things(self, input: Option<Vec<ThingDocument>>) -> Self
pub fn set_things(self, input: Option<Vec<ThingDocument>>) -> Self
The things that match the search query.
sourcepub fn get_things(&self) -> &Option<Vec<ThingDocument>>
pub fn get_things(&self) -> &Option<Vec<ThingDocument>>
The things that match the search query.
sourcepub fn thing_groups(self, input: ThingGroupDocument) -> Self
pub fn thing_groups(self, input: ThingGroupDocument) -> Self
Appends an item to thing_groups
.
To override the contents of this collection use set_thing_groups
.
The thing groups that match the search query.
sourcepub fn set_thing_groups(self, input: Option<Vec<ThingGroupDocument>>) -> Self
pub fn set_thing_groups(self, input: Option<Vec<ThingGroupDocument>>) -> Self
The thing groups that match the search query.
sourcepub fn get_thing_groups(&self) -> &Option<Vec<ThingGroupDocument>>
pub fn get_thing_groups(&self) -> &Option<Vec<ThingGroupDocument>>
The thing groups that match the search query.
sourcepub fn build(self) -> SearchIndexOutput
pub fn build(self) -> SearchIndexOutput
Consumes the builder and constructs a SearchIndexOutput
.
Trait Implementations§
source§impl Clone for SearchIndexOutputBuilder
impl Clone for SearchIndexOutputBuilder
source§fn clone(&self) -> SearchIndexOutputBuilder
fn clone(&self) -> SearchIndexOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchIndexOutputBuilder
impl Debug for SearchIndexOutputBuilder
source§impl Default for SearchIndexOutputBuilder
impl Default for SearchIndexOutputBuilder
source§fn default() -> SearchIndexOutputBuilder
fn default() -> SearchIndexOutputBuilder
source§impl PartialEq for SearchIndexOutputBuilder
impl PartialEq for SearchIndexOutputBuilder
source§fn eq(&self, other: &SearchIndexOutputBuilder) -> bool
fn eq(&self, other: &SearchIndexOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.