Struct aws_sdk_codedeploy::model::last_deployment_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LastDeploymentInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The unique ID of a deployment.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The unique ID of a deployment.
sourcepub fn status(self, input: DeploymentStatus) -> Self
pub fn status(self, input: DeploymentStatus) -> Self
The status of the most recent deployment.
sourcepub fn set_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_status(self, input: Option<DeploymentStatus>) -> Self
The status of the most recent deployment.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
A timestamp that indicates when the most recent deployment to the deployment group was complete.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the most recent deployment to the deployment group was complete.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
A timestamp that indicates when the most recent deployment to the deployment group started.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the most recent deployment to the deployment group started.
sourcepub fn build(self) -> LastDeploymentInfo
pub fn build(self) -> LastDeploymentInfo
Consumes the builder and constructs a LastDeploymentInfo
.