Struct aws_sdk_codecatalyst::operation::list_dev_environments::builders::ListDevEnvironmentsOutputBuilder
source · #[non_exhaustive]pub struct ListDevEnvironmentsOutputBuilder { /* private fields */ }
Expand description
A builder for ListDevEnvironmentsOutput
.
Implementations§
source§impl ListDevEnvironmentsOutputBuilder
impl ListDevEnvironmentsOutputBuilder
sourcepub fn items(self, input: DevEnvironmentSummary) -> Self
pub fn items(self, input: DevEnvironmentSummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
Information about the Dev Environments in a project.
sourcepub fn set_items(self, input: Option<Vec<DevEnvironmentSummary>>) -> Self
pub fn set_items(self, input: Option<Vec<DevEnvironmentSummary>>) -> Self
Information about the Dev Environments in a project.
sourcepub fn get_items(&self) -> &Option<Vec<DevEnvironmentSummary>>
pub fn get_items(&self) -> &Option<Vec<DevEnvironmentSummary>>
Information about the Dev Environments in a project.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn build(self) -> Result<ListDevEnvironmentsOutput, BuildError>
pub fn build(self) -> Result<ListDevEnvironmentsOutput, BuildError>
Consumes the builder and constructs a ListDevEnvironmentsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListDevEnvironmentsOutputBuilder
impl Clone for ListDevEnvironmentsOutputBuilder
source§fn clone(&self) -> ListDevEnvironmentsOutputBuilder
fn clone(&self) -> ListDevEnvironmentsOutputBuilder
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 Default for ListDevEnvironmentsOutputBuilder
impl Default for ListDevEnvironmentsOutputBuilder
source§fn default() -> ListDevEnvironmentsOutputBuilder
fn default() -> ListDevEnvironmentsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListDevEnvironmentsOutputBuilder
impl PartialEq for ListDevEnvironmentsOutputBuilder
source§fn eq(&self, other: &ListDevEnvironmentsOutputBuilder) -> bool
fn eq(&self, other: &ListDevEnvironmentsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDevEnvironmentsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListDevEnvironmentsOutputBuilder
impl Send for ListDevEnvironmentsOutputBuilder
impl Sync for ListDevEnvironmentsOutputBuilder
impl Unpin for ListDevEnvironmentsOutputBuilder
impl UnwindSafe for ListDevEnvironmentsOutputBuilder
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.