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 ==
.impl StructuralPartialEq for ContinueDeploymentInputBuilder
Auto Trait Implementations§
impl Freeze for ContinueDeploymentInputBuilder
impl RefUnwindSafe for ContinueDeploymentInputBuilder
impl Send for ContinueDeploymentInputBuilder
impl Sync for ContinueDeploymentInputBuilder
impl Unpin for ContinueDeploymentInputBuilder
impl UnwindSafe for ContinueDeploymentInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more