Struct aws_sdk_codedeploy::operation::continue_deployment::builders::ContinueDeploymentInputBuilder
source · #[non_exhaustive]pub struct ContinueDeploymentInputBuilder { /* private fields */ }
Expand description
A builder for ContinueDeploymentInput
.
Implementations§
source§impl ContinueDeploymentInputBuilder
impl ContinueDeploymentInputBuilder
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 blue/green deployment for which you want to start rerouting traffic to the replacement environment.
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 blue/green deployment for which you want to start rerouting traffic to the replacement environment.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The unique ID of a blue/green deployment for which you want to start rerouting traffic to the replacement environment.
sourcepub fn deployment_wait_type(self, input: DeploymentWaitType) -> Self
pub fn deployment_wait_type(self, input: DeploymentWaitType) -> Self
The status of the deployment's waiting period. READY_WAIT
indicates that the deployment is ready to start shifting traffic. TERMINATION_WAIT
indicates that the traffic is shifted, but the original target is not terminated.
sourcepub fn set_deployment_wait_type(self, input: Option<DeploymentWaitType>) -> Self
pub fn set_deployment_wait_type(self, input: Option<DeploymentWaitType>) -> Self
The status of the deployment's waiting period. READY_WAIT
indicates that the deployment is ready to start shifting traffic. TERMINATION_WAIT
indicates that the traffic is shifted, but the original target is not terminated.
sourcepub fn get_deployment_wait_type(&self) -> &Option<DeploymentWaitType>
pub fn get_deployment_wait_type(&self) -> &Option<DeploymentWaitType>
The status of the deployment's waiting period. READY_WAIT
indicates that the deployment is ready to start shifting traffic. TERMINATION_WAIT
indicates that the traffic is shifted, but the original target is not terminated.
sourcepub fn build(self) -> Result<ContinueDeploymentInput, BuildError>
pub fn build(self) -> Result<ContinueDeploymentInput, BuildError>
Consumes the builder and constructs a ContinueDeploymentInput
.
source§impl ContinueDeploymentInputBuilder
impl ContinueDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ContinueDeploymentOutput, SdkError<ContinueDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ContinueDeploymentOutput, SdkError<ContinueDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ContinueDeploymentInputBuilder
impl Clone for ContinueDeploymentInputBuilder
source§fn clone(&self) -> ContinueDeploymentInputBuilder
fn clone(&self) -> ContinueDeploymentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ContinueDeploymentInputBuilder
impl Default for ContinueDeploymentInputBuilder
source§fn default() -> ContinueDeploymentInputBuilder
fn default() -> ContinueDeploymentInputBuilder
source§impl PartialEq for ContinueDeploymentInputBuilder
impl PartialEq for ContinueDeploymentInputBuilder
source§fn eq(&self, other: &ContinueDeploymentInputBuilder) -> bool
fn eq(&self, other: &ContinueDeploymentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.