pub struct Builder { /* private fields */ }
Expand description
A builder for ContinueDeploymentInput
.
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 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 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 build(self) -> Result<ContinueDeploymentInput, BuildError>
pub fn build(self) -> Result<ContinueDeploymentInput, BuildError>
Consumes the builder and constructs a ContinueDeploymentInput
.