Struct aws_sdk_codedeploy::output::stop_deployment_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StopDeploymentOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: StopStatus) -> Self
pub fn status(self, input: StopStatus) -> Self
The status of the stop deployment operation:
-
Pending: The stop operation is pending.
-
Succeeded: The stop operation was successful.
sourcepub fn set_status(self, input: Option<StopStatus>) -> Self
pub fn set_status(self, input: Option<StopStatus>) -> Self
The status of the stop deployment operation:
-
Pending: The stop operation is pending.
-
Succeeded: The stop operation was successful.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
An accompanying status message.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
An accompanying status message.
sourcepub fn build(self) -> StopDeploymentOutput
pub fn build(self) -> StopDeploymentOutput
Consumes the builder and constructs a StopDeploymentOutput
.