Struct aws_sdk_codedeploy::operation::stop_deployment::builders::StopDeploymentFluentBuilder
source · pub struct StopDeploymentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StopDeployment
.
Attempts to stop an ongoing deployment.
Implementations§
source§impl StopDeploymentFluentBuilder
impl StopDeploymentFluentBuilder
sourcepub fn as_input(&self) -> &StopDeploymentInputBuilder
pub fn as_input(&self) -> &StopDeploymentInputBuilder
Access the StopDeployment as a reference.
sourcepub async fn send(
self
) -> Result<StopDeploymentOutput, SdkError<StopDeploymentError, HttpResponse>>
pub async fn send( self ) -> Result<StopDeploymentOutput, SdkError<StopDeploymentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StopDeploymentOutput, StopDeploymentError, Self>
pub fn customize( self ) -> CustomizableOperation<StopDeploymentOutput, StopDeploymentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The unique ID of a deployment.
sourcepub fn auto_rollback_enabled(self, input: bool) -> Self
pub fn auto_rollback_enabled(self, input: bool) -> Self
Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.
sourcepub fn set_auto_rollback_enabled(self, input: Option<bool>) -> Self
pub fn set_auto_rollback_enabled(self, input: Option<bool>) -> Self
Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.
sourcepub fn get_auto_rollback_enabled(&self) -> &Option<bool>
pub fn get_auto_rollback_enabled(&self) -> &Option<bool>
Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.
Trait Implementations§
source§impl Clone for StopDeploymentFluentBuilder
impl Clone for StopDeploymentFluentBuilder
source§fn clone(&self) -> StopDeploymentFluentBuilder
fn clone(&self) -> StopDeploymentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more