Struct aws_sdk_ecs::operation::list_container_instances::builders::ListContainerInstancesOutputBuilder
source · #[non_exhaustive]pub struct ListContainerInstancesOutputBuilder { /* private fields */ }
Expand description
A builder for ListContainerInstancesOutput
.
Implementations§
source§impl ListContainerInstancesOutputBuilder
impl ListContainerInstancesOutputBuilder
sourcepub fn container_instance_arns(self, input: impl Into<String>) -> Self
pub fn container_instance_arns(self, input: impl Into<String>) -> Self
Appends an item to container_instance_arns
.
To override the contents of this collection use set_container_instance_arns
.
The list of container instances with full ARN entries for each container instance associated with the specified cluster.
sourcepub fn set_container_instance_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_container_instance_arns(self, input: Option<Vec<String>>) -> Self
The list of container instances with full ARN entries for each container instance associated with the specified cluster.
sourcepub fn get_container_instance_arns(&self) -> &Option<Vec<String>>
pub fn get_container_instance_arns(&self) -> &Option<Vec<String>>
The list of container instances with full ARN entries for each container instance associated with the specified cluster.
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 ListContainerInstances
request. When the results of a ListContainerInstances
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 ListContainerInstances
request. When the results of a ListContainerInstances
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 ListContainerInstances
request. When the results of a ListContainerInstances
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) -> ListContainerInstancesOutput
pub fn build(self) -> ListContainerInstancesOutput
Consumes the builder and constructs a ListContainerInstancesOutput
.
Trait Implementations§
source§impl Clone for ListContainerInstancesOutputBuilder
impl Clone for ListContainerInstancesOutputBuilder
source§fn clone(&self) -> ListContainerInstancesOutputBuilder
fn clone(&self) -> ListContainerInstancesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListContainerInstancesOutputBuilder
impl Default for ListContainerInstancesOutputBuilder
source§fn default() -> ListContainerInstancesOutputBuilder
fn default() -> ListContainerInstancesOutputBuilder
source§impl PartialEq for ListContainerInstancesOutputBuilder
impl PartialEq for ListContainerInstancesOutputBuilder
source§fn eq(&self, other: &ListContainerInstancesOutputBuilder) -> bool
fn eq(&self, other: &ListContainerInstancesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListContainerInstancesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListContainerInstancesOutputBuilder
impl RefUnwindSafe for ListContainerInstancesOutputBuilder
impl Send for ListContainerInstancesOutputBuilder
impl Sync for ListContainerInstancesOutputBuilder
impl Unpin for ListContainerInstancesOutputBuilder
impl UnwindSafe for ListContainerInstancesOutputBuilder
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