#[non_exhaustive]pub struct StopDeploymentInputBuilder { /* private fields */ }
Expand description
A builder for StopDeploymentInput
.
Implementations§
source§impl StopDeploymentInputBuilder
impl StopDeploymentInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<StopDeploymentInput, BuildError>
pub fn build(self) -> Result<StopDeploymentInput, BuildError>
Consumes the builder and constructs a StopDeploymentInput
.
source§impl StopDeploymentInputBuilder
impl StopDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StopDeploymentOutput, SdkError<StopDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StopDeploymentOutput, SdkError<StopDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StopDeploymentInputBuilder
impl Clone for StopDeploymentInputBuilder
source§fn clone(&self) -> StopDeploymentInputBuilder
fn clone(&self) -> StopDeploymentInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StopDeploymentInputBuilder
impl Debug for StopDeploymentInputBuilder
source§impl Default for StopDeploymentInputBuilder
impl Default for StopDeploymentInputBuilder
source§fn default() -> StopDeploymentInputBuilder
fn default() -> StopDeploymentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StopDeploymentInputBuilder
impl PartialEq for StopDeploymentInputBuilder
source§fn eq(&self, other: &StopDeploymentInputBuilder) -> bool
fn eq(&self, other: &StopDeploymentInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StopDeploymentInputBuilder
Auto Trait Implementations§
impl Freeze for StopDeploymentInputBuilder
impl RefUnwindSafe for StopDeploymentInputBuilder
impl Send for StopDeploymentInputBuilder
impl Sync for StopDeploymentInputBuilder
impl Unpin for StopDeploymentInputBuilder
impl UnwindSafe for StopDeploymentInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.