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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<SearchOutputBuilder> for SearchOutputBuilder
impl PartialEq<SearchOutputBuilder> for SearchOutputBuilder
source§fn eq(&self, other: &SearchOutputBuilder) -> bool
fn eq(&self, other: &SearchOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SearchOutputBuilder
impl Send for SearchOutputBuilder
impl Sync for SearchOutputBuilder
impl Unpin for SearchOutputBuilder
impl UnwindSafe for SearchOutputBuilder
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
Mutably borrows from an owned value. Read more