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<DescribeComputeEnvironmentsOutputBuilder> for DescribeComputeEnvironmentsOutputBuilder
impl PartialEq<DescribeComputeEnvironmentsOutputBuilder> 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 ==
.