Struct aws_sdk_codedeploy::operation::list_deployments::builders::ListDeploymentsOutputBuilder
source · #[non_exhaustive]pub struct ListDeploymentsOutputBuilder { /* private fields */ }
Expand description
A builder for ListDeploymentsOutput
.
Implementations§
source§impl ListDeploymentsOutputBuilder
impl ListDeploymentsOutputBuilder
sourcepub fn deployments(self, input: impl Into<String>) -> Self
pub fn deployments(self, input: impl Into<String>) -> Self
Appends an item to deployments
.
To override the contents of this collection use set_deployments
.
A list of deployment IDs.
sourcepub fn set_deployments(self, input: Option<Vec<String>>) -> Self
pub fn set_deployments(self, input: Option<Vec<String>>) -> Self
A list of deployment IDs.
sourcepub fn get_deployments(&self) -> &Option<Vec<String>>
pub fn get_deployments(&self) -> &Option<Vec<String>>
A list of deployment IDs.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
sourcepub fn build(self) -> ListDeploymentsOutput
pub fn build(self) -> ListDeploymentsOutput
Consumes the builder and constructs a ListDeploymentsOutput
.
Trait Implementations§
source§impl Clone for ListDeploymentsOutputBuilder
impl Clone for ListDeploymentsOutputBuilder
source§fn clone(&self) -> ListDeploymentsOutputBuilder
fn clone(&self) -> ListDeploymentsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDeploymentsOutputBuilder
impl Debug for ListDeploymentsOutputBuilder
source§impl Default for ListDeploymentsOutputBuilder
impl Default for ListDeploymentsOutputBuilder
source§fn default() -> ListDeploymentsOutputBuilder
fn default() -> ListDeploymentsOutputBuilder
source§impl PartialEq for ListDeploymentsOutputBuilder
impl PartialEq for ListDeploymentsOutputBuilder
source§fn eq(&self, other: &ListDeploymentsOutputBuilder) -> bool
fn eq(&self, other: &ListDeploymentsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDeploymentsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListDeploymentsOutputBuilder
impl RefUnwindSafe for ListDeploymentsOutputBuilder
impl Send for ListDeploymentsOutputBuilder
impl Sync for ListDeploymentsOutputBuilder
impl Unpin for ListDeploymentsOutputBuilder
impl UnwindSafe for ListDeploymentsOutputBuilder
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