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 ==
.impl StructuralPartialEq for SearchOutputBuilder
Auto Trait Implementations§
impl Freeze for SearchOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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