#[non_exhaustive]pub struct DeploymentOverviewBuilder { /* private fields */ }
Expand description
A builder for DeploymentOverview
.
Implementations§
source§impl DeploymentOverviewBuilder
impl DeploymentOverviewBuilder
sourcepub fn pending(self, input: i64) -> Self
pub fn pending(self, input: i64) -> Self
The number of instances in the deployment in a pending state.
sourcepub fn set_pending(self, input: Option<i64>) -> Self
pub fn set_pending(self, input: Option<i64>) -> Self
The number of instances in the deployment in a pending state.
sourcepub fn get_pending(&self) -> &Option<i64>
pub fn get_pending(&self) -> &Option<i64>
The number of instances in the deployment in a pending state.
sourcepub fn in_progress(self, input: i64) -> Self
pub fn in_progress(self, input: i64) -> Self
The number of instances in which the deployment is in progress.
sourcepub fn set_in_progress(self, input: Option<i64>) -> Self
pub fn set_in_progress(self, input: Option<i64>) -> Self
The number of instances in which the deployment is in progress.
sourcepub fn get_in_progress(&self) -> &Option<i64>
pub fn get_in_progress(&self) -> &Option<i64>
The number of instances in which the deployment is in progress.
sourcepub fn succeeded(self, input: i64) -> Self
pub fn succeeded(self, input: i64) -> Self
The number of instances in the deployment to which revisions have been successfully deployed.
sourcepub fn set_succeeded(self, input: Option<i64>) -> Self
pub fn set_succeeded(self, input: Option<i64>) -> Self
The number of instances in the deployment to which revisions have been successfully deployed.
sourcepub fn get_succeeded(&self) -> &Option<i64>
pub fn get_succeeded(&self) -> &Option<i64>
The number of instances in the deployment to which revisions have been successfully deployed.
sourcepub fn failed(self, input: i64) -> Self
pub fn failed(self, input: i64) -> Self
The number of instances in the deployment in a failed state.
sourcepub fn set_failed(self, input: Option<i64>) -> Self
pub fn set_failed(self, input: Option<i64>) -> Self
The number of instances in the deployment in a failed state.
sourcepub fn get_failed(&self) -> &Option<i64>
pub fn get_failed(&self) -> &Option<i64>
The number of instances in the deployment in a failed state.
sourcepub fn skipped(self, input: i64) -> Self
pub fn skipped(self, input: i64) -> Self
The number of instances in the deployment in a skipped state.
sourcepub fn set_skipped(self, input: Option<i64>) -> Self
pub fn set_skipped(self, input: Option<i64>) -> Self
The number of instances in the deployment in a skipped state.
sourcepub fn get_skipped(&self) -> &Option<i64>
pub fn get_skipped(&self) -> &Option<i64>
The number of instances in the deployment in a skipped state.
sourcepub fn ready(self, input: i64) -> Self
pub fn ready(self, input: i64) -> Self
The number of instances in a replacement environment ready to receive traffic in a blue/green deployment.
sourcepub fn set_ready(self, input: Option<i64>) -> Self
pub fn set_ready(self, input: Option<i64>) -> Self
The number of instances in a replacement environment ready to receive traffic in a blue/green deployment.
sourcepub fn get_ready(&self) -> &Option<i64>
pub fn get_ready(&self) -> &Option<i64>
The number of instances in a replacement environment ready to receive traffic in a blue/green deployment.
sourcepub fn build(self) -> DeploymentOverview
pub fn build(self) -> DeploymentOverview
Consumes the builder and constructs a DeploymentOverview
.
Trait Implementations§
source§impl Clone for DeploymentOverviewBuilder
impl Clone for DeploymentOverviewBuilder
source§fn clone(&self) -> DeploymentOverviewBuilder
fn clone(&self) -> DeploymentOverviewBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentOverviewBuilder
impl Debug for DeploymentOverviewBuilder
source§impl Default for DeploymentOverviewBuilder
impl Default for DeploymentOverviewBuilder
source§fn default() -> DeploymentOverviewBuilder
fn default() -> DeploymentOverviewBuilder
source§impl PartialEq for DeploymentOverviewBuilder
impl PartialEq for DeploymentOverviewBuilder
source§fn eq(&self, other: &DeploymentOverviewBuilder) -> bool
fn eq(&self, other: &DeploymentOverviewBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentOverviewBuilder
Auto Trait Implementations§
impl Freeze for DeploymentOverviewBuilder
impl RefUnwindSafe for DeploymentOverviewBuilder
impl Send for DeploymentOverviewBuilder
impl Sync for DeploymentOverviewBuilder
impl Unpin for DeploymentOverviewBuilder
impl UnwindSafe for DeploymentOverviewBuilder
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