#[non_exhaustive]pub struct ListRobotsOutputBuilder { /* private fields */ }Expand description
A builder for ListRobotsOutput.
Implementations§
source§impl ListRobotsOutputBuilder
impl ListRobotsOutputBuilder
sourcepub fn robots(self, input: Robot) -> Self
pub fn robots(self, input: Robot) -> Self
Appends an item to robots.
To override the contents of this collection use set_robots.
A list of robots that meet the criteria of the request.
sourcepub fn set_robots(self, input: Option<Vec<Robot>>) -> Self
pub fn set_robots(self, input: Option<Vec<Robot>>) -> Self
A list of robots that meet the criteria of the request.
sourcepub fn get_robots(&self) -> &Option<Vec<Robot>>
pub fn get_robots(&self) -> &Option<Vec<Robot>>
A list of robots that meet the criteria of the request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn build(self) -> ListRobotsOutput
pub fn build(self) -> ListRobotsOutput
Consumes the builder and constructs a ListRobotsOutput.
Trait Implementations§
source§impl Clone for ListRobotsOutputBuilder
impl Clone for ListRobotsOutputBuilder
source§fn clone(&self) -> ListRobotsOutputBuilder
fn clone(&self) -> ListRobotsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListRobotsOutputBuilder
impl Debug for ListRobotsOutputBuilder
source§impl Default for ListRobotsOutputBuilder
impl Default for ListRobotsOutputBuilder
source§fn default() -> ListRobotsOutputBuilder
fn default() -> ListRobotsOutputBuilder
source§impl PartialEq for ListRobotsOutputBuilder
impl PartialEq for ListRobotsOutputBuilder
source§fn eq(&self, other: &ListRobotsOutputBuilder) -> bool
fn eq(&self, other: &ListRobotsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListRobotsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListRobotsOutputBuilder
impl RefUnwindSafe for ListRobotsOutputBuilder
impl Send for ListRobotsOutputBuilder
impl Sync for ListRobotsOutputBuilder
impl Unpin for ListRobotsOutputBuilder
impl UnwindSafe for ListRobotsOutputBuilder
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