Struct aws_sdk_elasticbeanstalk::operation::describe_environments::builders::DescribeEnvironmentsOutputBuilder
source · #[non_exhaustive]pub struct DescribeEnvironmentsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeEnvironmentsOutput
.
Implementations§
source§impl DescribeEnvironmentsOutputBuilder
impl DescribeEnvironmentsOutputBuilder
sourcepub fn environments(self, input: EnvironmentDescription) -> Self
pub fn environments(self, input: EnvironmentDescription) -> Self
Appends an item to environments
.
To override the contents of this collection use set_environments
.
Returns an EnvironmentDescription
list.
sourcepub fn set_environments(
self,
input: Option<Vec<EnvironmentDescription>>
) -> Self
pub fn set_environments( self, input: Option<Vec<EnvironmentDescription>> ) -> Self
Returns an EnvironmentDescription
list.
sourcepub fn get_environments(&self) -> &Option<Vec<EnvironmentDescription>>
pub fn get_environments(&self) -> &Option<Vec<EnvironmentDescription>>
Returns an EnvironmentDescription
list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
In a paginated request, the token that you can pass in a subsequent request to get the next response page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
In a paginated request, the token that you can pass in a subsequent request to get the next response page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
In a paginated request, the token that you can pass in a subsequent request to get the next response page.
sourcepub fn build(self) -> DescribeEnvironmentsOutput
pub fn build(self) -> DescribeEnvironmentsOutput
Consumes the builder and constructs a DescribeEnvironmentsOutput
.
Trait Implementations§
source§impl Clone for DescribeEnvironmentsOutputBuilder
impl Clone for DescribeEnvironmentsOutputBuilder
source§fn clone(&self) -> DescribeEnvironmentsOutputBuilder
fn clone(&self) -> DescribeEnvironmentsOutputBuilder
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 DescribeEnvironmentsOutputBuilder
impl Default for DescribeEnvironmentsOutputBuilder
source§fn default() -> DescribeEnvironmentsOutputBuilder
fn default() -> DescribeEnvironmentsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeEnvironmentsOutputBuilder
impl PartialEq for DescribeEnvironmentsOutputBuilder
source§fn eq(&self, other: &DescribeEnvironmentsOutputBuilder) -> bool
fn eq(&self, other: &DescribeEnvironmentsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeEnvironmentsOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeEnvironmentsOutputBuilder
impl RefUnwindSafe for DescribeEnvironmentsOutputBuilder
impl Send for DescribeEnvironmentsOutputBuilder
impl Sync for DescribeEnvironmentsOutputBuilder
impl Unpin for DescribeEnvironmentsOutputBuilder
impl UnwindSafe for DescribeEnvironmentsOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.