#[non_exhaustive]pub struct ListEnvironmentsOutputBuilder { /* private fields */ }
Expand description
A builder for ListEnvironmentsOutput
.
Implementations§
source§impl ListEnvironmentsOutputBuilder
impl ListEnvironmentsOutputBuilder
sourcepub fn environments(self, input: EnvironmentSummary) -> Self
pub fn environments(self, input: EnvironmentSummary) -> Self
Appends an item to environments
.
To override the contents of this collection use set_environments
.
Returns a list of summary details for all the runtime environments in your account.
sourcepub fn set_environments(self, input: Option<Vec<EnvironmentSummary>>) -> Self
pub fn set_environments(self, input: Option<Vec<EnvironmentSummary>>) -> Self
Returns a list of summary details for all the runtime environments in your account.
sourcepub fn get_environments(&self) -> &Option<Vec<EnvironmentSummary>>
pub fn get_environments(&self) -> &Option<Vec<EnvironmentSummary>>
Returns a list of summary details for all the runtime environments in your account.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token that's returned when the response doesn't contain all the runtime environments.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token that's returned when the response doesn't contain all the runtime environments.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token that's returned when the response doesn't contain all the runtime environments.
sourcepub fn build(self) -> Result<ListEnvironmentsOutput, BuildError>
pub fn build(self) -> Result<ListEnvironmentsOutput, BuildError>
Consumes the builder and constructs a ListEnvironmentsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListEnvironmentsOutputBuilder
impl Clone for ListEnvironmentsOutputBuilder
source§fn clone(&self) -> ListEnvironmentsOutputBuilder
fn clone(&self) -> ListEnvironmentsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListEnvironmentsOutputBuilder
impl Default for ListEnvironmentsOutputBuilder
source§fn default() -> ListEnvironmentsOutputBuilder
fn default() -> ListEnvironmentsOutputBuilder
source§impl PartialEq for ListEnvironmentsOutputBuilder
impl PartialEq for ListEnvironmentsOutputBuilder
source§fn eq(&self, other: &ListEnvironmentsOutputBuilder) -> bool
fn eq(&self, other: &ListEnvironmentsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListEnvironmentsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListEnvironmentsOutputBuilder
impl RefUnwindSafe for ListEnvironmentsOutputBuilder
impl Send for ListEnvironmentsOutputBuilder
impl Sync for ListEnvironmentsOutputBuilder
impl Unpin for ListEnvironmentsOutputBuilder
impl UnwindSafe for ListEnvironmentsOutputBuilder
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