Struct aws_sdk_sagemaker::operation::search::builders::SearchOutputBuilder
source · #[non_exhaustive]pub struct SearchOutputBuilder { /* private fields */ }
Expand description
A builder for SearchOutput
.
Implementations§
source§impl SearchOutputBuilder
impl SearchOutputBuilder
sourcepub fn results(self, input: SearchRecord) -> Self
pub fn results(self, input: SearchRecord) -> Self
Appends an item to results
.
To override the contents of this collection use set_results
.
A list of SearchRecord
objects.
sourcepub fn set_results(self, input: Option<Vec<SearchRecord>>) -> Self
pub fn set_results(self, input: Option<Vec<SearchRecord>>) -> Self
A list of SearchRecord
objects.
sourcepub fn get_results(&self) -> &Option<Vec<SearchRecord>>
pub fn get_results(&self) -> &Option<Vec<SearchRecord>>
A list of SearchRecord
objects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the result of the previous Search
request was truncated, the response includes a NextToken. To retrieve the next set of results, 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 result of the previous Search
request was truncated, the response includes a NextToken. To retrieve the next set of results, 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 result of the previous Search
request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request.
sourcepub fn build(self) -> SearchOutput
pub fn build(self) -> SearchOutput
Consumes the builder and constructs a SearchOutput
.
Trait Implementations§
source§impl Clone for SearchOutputBuilder
impl Clone for SearchOutputBuilder
source§fn clone(&self) -> SearchOutputBuilder
fn clone(&self) -> SearchOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchOutputBuilder
impl Debug for SearchOutputBuilder
source§impl Default for SearchOutputBuilder
impl Default for SearchOutputBuilder
source§fn default() -> SearchOutputBuilder
fn default() -> SearchOutputBuilder
source§impl PartialEq for SearchOutputBuilder
impl PartialEq for SearchOutputBuilder
source§fn eq(&self, other: &SearchOutputBuilder) -> bool
fn eq(&self, other: &SearchOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.