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 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 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
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 Debug for ListDeploymentsOutputBuilder
impl Debug for ListDeploymentsOutputBuilder
source§impl Default for ListDeploymentsOutputBuilder
impl Default for ListDeploymentsOutputBuilder
source§fn default() -> ListDeploymentsOutputBuilder
fn default() -> ListDeploymentsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ListDeploymentsOutputBuilder> for ListDeploymentsOutputBuilder
impl PartialEq<ListDeploymentsOutputBuilder> for ListDeploymentsOutputBuilder
source§fn eq(&self, other: &ListDeploymentsOutputBuilder) -> bool
fn eq(&self, other: &ListDeploymentsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDeploymentsOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more