Struct aws_sdk_codedeploy::model::deployment_overview::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeploymentOverview
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 build(self) -> DeploymentOverview
pub fn build(self) -> DeploymentOverview
Consumes the builder and constructs a DeploymentOverview
.