Struct aws_sdk_elasticbeanstalk::types::builders::DeploymentBuilder
source · #[non_exhaustive]pub struct DeploymentBuilder { /* private fields */ }
Expand description
A builder for Deployment
.
Implementations§
source§impl DeploymentBuilder
impl DeploymentBuilder
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
The version label of the application version in the deployment.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
The version label of the application version in the deployment.
sourcepub fn get_version_label(&self) -> &Option<String>
pub fn get_version_label(&self) -> &Option<String>
The version label of the application version in the deployment.
sourcepub fn deployment_id(self, input: i64) -> Self
pub fn deployment_id(self, input: i64) -> Self
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
sourcepub fn set_deployment_id(self, input: Option<i64>) -> Self
pub fn set_deployment_id(self, input: Option<i64>) -> Self
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
sourcepub fn get_deployment_id(&self) -> &Option<i64>
pub fn get_deployment_id(&self) -> &Option<i64>
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
sourcepub fn deployment_time(self, input: DateTime) -> Self
pub fn deployment_time(self, input: DateTime) -> Self
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
sourcepub fn set_deployment_time(self, input: Option<DateTime>) -> Self
pub fn set_deployment_time(self, input: Option<DateTime>) -> Self
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
sourcepub fn get_deployment_time(&self) -> &Option<DateTime>
pub fn get_deployment_time(&self) -> &Option<DateTime>
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
sourcepub fn build(self) -> Deployment
pub fn build(self) -> Deployment
Consumes the builder and constructs a Deployment
.
Trait Implementations§
source§impl Clone for DeploymentBuilder
impl Clone for DeploymentBuilder
source§fn clone(&self) -> DeploymentBuilder
fn clone(&self) -> DeploymentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentBuilder
impl Debug for DeploymentBuilder
source§impl Default for DeploymentBuilder
impl Default for DeploymentBuilder
source§fn default() -> DeploymentBuilder
fn default() -> DeploymentBuilder
source§impl PartialEq<DeploymentBuilder> for DeploymentBuilder
impl PartialEq<DeploymentBuilder> for DeploymentBuilder
source§fn eq(&self, other: &DeploymentBuilder) -> bool
fn eq(&self, other: &DeploymentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.