Struct aws_sdk_codecatalyst::operation::list_dev_environment_sessions::builders::ListDevEnvironmentSessionsOutputBuilder
source · #[non_exhaustive]pub struct ListDevEnvironmentSessionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListDevEnvironmentSessionsOutput
.
Implementations§
source§impl ListDevEnvironmentSessionsOutputBuilder
impl ListDevEnvironmentSessionsOutputBuilder
sourcepub fn items(self, input: DevEnvironmentSessionSummary) -> Self
pub fn items(self, input: DevEnvironmentSessionSummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
Information about each session retrieved in the list.
sourcepub fn set_items(self, input: Option<Vec<DevEnvironmentSessionSummary>>) -> Self
pub fn set_items(self, input: Option<Vec<DevEnvironmentSessionSummary>>) -> Self
Information about each session retrieved in the list.
sourcepub fn get_items(&self) -> &Option<Vec<DevEnvironmentSessionSummary>>
pub fn get_items(&self) -> &Option<Vec<DevEnvironmentSessionSummary>>
Information about each session retrieved in the list.
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<ListDevEnvironmentSessionsOutput, BuildError>
pub fn build(self) -> Result<ListDevEnvironmentSessionsOutput, BuildError>
Consumes the builder and constructs a ListDevEnvironmentSessionsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListDevEnvironmentSessionsOutputBuilder
impl Clone for ListDevEnvironmentSessionsOutputBuilder
source§fn clone(&self) -> ListDevEnvironmentSessionsOutputBuilder
fn clone(&self) -> ListDevEnvironmentSessionsOutputBuilder
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 ListDevEnvironmentSessionsOutputBuilder
impl Default for ListDevEnvironmentSessionsOutputBuilder
source§fn default() -> ListDevEnvironmentSessionsOutputBuilder
fn default() -> ListDevEnvironmentSessionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListDevEnvironmentSessionsOutputBuilder
impl PartialEq for ListDevEnvironmentSessionsOutputBuilder
source§fn eq(&self, other: &ListDevEnvironmentSessionsOutputBuilder) -> bool
fn eq(&self, other: &ListDevEnvironmentSessionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDevEnvironmentSessionsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListDevEnvironmentSessionsOutputBuilder
impl Send for ListDevEnvironmentSessionsOutputBuilder
impl Sync for ListDevEnvironmentSessionsOutputBuilder
impl Unpin for ListDevEnvironmentSessionsOutputBuilder
impl UnwindSafe for ListDevEnvironmentSessionsOutputBuilder
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.