Struct aws_sdk_iot1clickprojects::operation::list_projects::builders::ListProjectsOutputBuilder    
source · #[non_exhaustive]pub struct ListProjectsOutputBuilder { /* private fields */ }Expand description
A builder for ListProjectsOutput.
Implementations§
source§impl ListProjectsOutputBuilder
 
impl ListProjectsOutputBuilder
sourcepub fn projects(self, input: ProjectSummary) -> Self
 
pub fn projects(self, input: ProjectSummary) -> Self
Appends an item to projects.
To override the contents of this collection use set_projects.
An object containing the list of projects.
sourcepub fn set_projects(self, input: Option<Vec<ProjectSummary>>) -> Self
 
pub fn set_projects(self, input: Option<Vec<ProjectSummary>>) -> Self
An object containing the list of projects.
sourcepub fn get_projects(&self) -> &Option<Vec<ProjectSummary>>
 
pub fn get_projects(&self) -> &Option<Vec<ProjectSummary>>
An object containing the list of projects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
 
pub fn next_token(self, input: impl Into<String>) -> Self
The token used to retrieve the next set of results - will be effectively empty if there are no further 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 retrieve the next set of results - will be effectively empty if there are no further results.
sourcepub fn get_next_token(&self) -> &Option<String>
 
pub fn get_next_token(&self) -> &Option<String>
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
sourcepub fn build(self) -> Result<ListProjectsOutput, BuildError>
 
pub fn build(self) -> Result<ListProjectsOutput, BuildError>
Consumes the builder and constructs a ListProjectsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListProjectsOutputBuilder
 
impl Clone for ListProjectsOutputBuilder
source§fn clone(&self) -> ListProjectsOutputBuilder
 
fn clone(&self) -> ListProjectsOutputBuilder
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 ListProjectsOutputBuilder
 
impl Debug for ListProjectsOutputBuilder
source§impl Default for ListProjectsOutputBuilder
 
impl Default for ListProjectsOutputBuilder
source§fn default() -> ListProjectsOutputBuilder
 
fn default() -> ListProjectsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListProjectsOutputBuilder
 
impl PartialEq for ListProjectsOutputBuilder
source§fn eq(&self, other: &ListProjectsOutputBuilder) -> bool
 
fn eq(&self, other: &ListProjectsOutputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListProjectsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListProjectsOutputBuilder
impl Send for ListProjectsOutputBuilder
impl Sync for ListProjectsOutputBuilder
impl Unpin for ListProjectsOutputBuilder
impl UnwindSafe for ListProjectsOutputBuilder
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
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>
Creates a shared type from an unshared type.