Struct aws_sdk_batch::operation::describe_compute_environments::builders::DescribeComputeEnvironmentsOutputBuilder
source · #[non_exhaustive]pub struct DescribeComputeEnvironmentsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeComputeEnvironmentsOutput
.
Implementations§
source§impl DescribeComputeEnvironmentsOutputBuilder
impl DescribeComputeEnvironmentsOutputBuilder
sourcepub fn compute_environments(self, input: ComputeEnvironmentDetail) -> Self
pub fn compute_environments(self, input: ComputeEnvironmentDetail) -> Self
Appends an item to compute_environments
.
To override the contents of this collection use set_compute_environments
.
The list of compute environments.
sourcepub fn set_compute_environments(
self,
input: Option<Vec<ComputeEnvironmentDetail>>
) -> Self
pub fn set_compute_environments( self, input: Option<Vec<ComputeEnvironmentDetail>> ) -> Self
The list of compute environments.
sourcepub fn get_compute_environments(&self) -> &Option<Vec<ComputeEnvironmentDetail>>
pub fn get_compute_environments(&self) -> &Option<Vec<ComputeEnvironmentDetail>>
The list of compute environments.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value to include in a future DescribeComputeEnvironments
request. When the results of a DescribeComputeEnvironments
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value to include in a future DescribeComputeEnvironments
request. When the results of a DescribeComputeEnvironments
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value to include in a future DescribeComputeEnvironments
request. When the results of a DescribeComputeEnvironments
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn build(self) -> DescribeComputeEnvironmentsOutput
pub fn build(self) -> DescribeComputeEnvironmentsOutput
Consumes the builder and constructs a DescribeComputeEnvironmentsOutput
.
Trait Implementations§
source§impl Clone for DescribeComputeEnvironmentsOutputBuilder
impl Clone for DescribeComputeEnvironmentsOutputBuilder
source§fn clone(&self) -> DescribeComputeEnvironmentsOutputBuilder
fn clone(&self) -> DescribeComputeEnvironmentsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeComputeEnvironmentsOutputBuilder
impl Default for DescribeComputeEnvironmentsOutputBuilder
source§fn default() -> DescribeComputeEnvironmentsOutputBuilder
fn default() -> DescribeComputeEnvironmentsOutputBuilder
source§impl PartialEq for DescribeComputeEnvironmentsOutputBuilder
impl PartialEq for DescribeComputeEnvironmentsOutputBuilder
source§fn eq(&self, other: &DescribeComputeEnvironmentsOutputBuilder) -> bool
fn eq(&self, other: &DescribeComputeEnvironmentsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeComputeEnvironmentsOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeComputeEnvironmentsOutputBuilder
impl RefUnwindSafe for DescribeComputeEnvironmentsOutputBuilder
impl Send for DescribeComputeEnvironmentsOutputBuilder
impl Sync for DescribeComputeEnvironmentsOutputBuilder
impl Unpin for DescribeComputeEnvironmentsOutputBuilder
impl UnwindSafe for DescribeComputeEnvironmentsOutputBuilder
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