#[non_exhaustive]pub struct ListDeploymentsOutputBuilder { /* private fields */ }Expand description
A builder for ListDeploymentsOutput.
Implementations§
source§impl ListDeploymentsOutputBuilder
impl ListDeploymentsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
sourcepub fn deployments(self, input: DeploymentSummary) -> Self
pub fn deployments(self, input: DeploymentSummary) -> Self
Appends an item to deployments.
To override the contents of this collection use set_deployments.
An array of deployment with summary data.
sourcepub fn set_deployments(self, input: Option<Vec<DeploymentSummary>>) -> Self
pub fn set_deployments(self, input: Option<Vec<DeploymentSummary>>) -> Self
An array of deployment with summary data.
sourcepub fn get_deployments(&self) -> &Option<Vec<DeploymentSummary>>
pub fn get_deployments(&self) -> &Option<Vec<DeploymentSummary>>
An array of deployment with summary data.
sourcepub fn build(self) -> Result<ListDeploymentsOutput, BuildError>
pub fn build(self) -> Result<ListDeploymentsOutput, BuildError>
Consumes the builder and constructs a ListDeploymentsOutput.
This method will fail if any of the following fields are not set:
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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