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<DescribeEnvironmentsOutputBuilder> for DescribeEnvironmentsOutputBuilder
impl PartialEq<DescribeEnvironmentsOutputBuilder> 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 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