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