Struct aws_sdk_codedeploy::operation::put_lifecycle_event_hook_execution_status::builders::PutLifecycleEventHookExecutionStatusInputBuilder
source · #[non_exhaustive]pub struct PutLifecycleEventHookExecutionStatusInputBuilder { /* private fields */ }
Expand description
A builder for PutLifecycleEventHookExecutionStatusInput
.
Implementations§
source§impl PutLifecycleEventHookExecutionStatusInputBuilder
impl PutLifecycleEventHookExecutionStatusInputBuilder
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. Pass this ID to a Lambda function that validates a deployment lifecycle event.
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. Pass this ID to a Lambda function that validates a deployment lifecycle event.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.
sourcepub fn lifecycle_event_hook_execution_id(self, input: impl Into<String>) -> Self
pub fn lifecycle_event_hook_execution_id(self, input: impl Into<String>) -> Self
The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks
section of the AppSpec file.
sourcepub fn set_lifecycle_event_hook_execution_id(
self,
input: Option<String>,
) -> Self
pub fn set_lifecycle_event_hook_execution_id( self, input: Option<String>, ) -> Self
The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks
section of the AppSpec file.
sourcepub fn get_lifecycle_event_hook_execution_id(&self) -> &Option<String>
pub fn get_lifecycle_event_hook_execution_id(&self) -> &Option<String>
The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks
section of the AppSpec file.
sourcepub fn status(self, input: LifecycleEventStatus) -> Self
pub fn status(self, input: LifecycleEventStatus) -> Self
The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded
and Failed
can be passed successfully in your API call.
sourcepub fn set_status(self, input: Option<LifecycleEventStatus>) -> Self
pub fn set_status(self, input: Option<LifecycleEventStatus>) -> Self
The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded
and Failed
can be passed successfully in your API call.
sourcepub fn get_status(&self) -> &Option<LifecycleEventStatus>
pub fn get_status(&self) -> &Option<LifecycleEventStatus>
The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded
and Failed
can be passed successfully in your API call.
sourcepub fn build(
self,
) -> Result<PutLifecycleEventHookExecutionStatusInput, BuildError>
pub fn build( self, ) -> Result<PutLifecycleEventHookExecutionStatusInput, BuildError>
Consumes the builder and constructs a PutLifecycleEventHookExecutionStatusInput
.
source§impl PutLifecycleEventHookExecutionStatusInputBuilder
impl PutLifecycleEventHookExecutionStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PutLifecycleEventHookExecutionStatusOutput, SdkError<PutLifecycleEventHookExecutionStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PutLifecycleEventHookExecutionStatusOutput, SdkError<PutLifecycleEventHookExecutionStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutLifecycleEventHookExecutionStatusInputBuilder
impl Clone for PutLifecycleEventHookExecutionStatusInputBuilder
source§fn clone(&self) -> PutLifecycleEventHookExecutionStatusInputBuilder
fn clone(&self) -> PutLifecycleEventHookExecutionStatusInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutLifecycleEventHookExecutionStatusInputBuilder
impl Default for PutLifecycleEventHookExecutionStatusInputBuilder
source§fn default() -> PutLifecycleEventHookExecutionStatusInputBuilder
fn default() -> PutLifecycleEventHookExecutionStatusInputBuilder
source§impl PartialEq for PutLifecycleEventHookExecutionStatusInputBuilder
impl PartialEq for PutLifecycleEventHookExecutionStatusInputBuilder
source§fn eq(&self, other: &PutLifecycleEventHookExecutionStatusInputBuilder) -> bool
fn eq(&self, other: &PutLifecycleEventHookExecutionStatusInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutLifecycleEventHookExecutionStatusInputBuilder
Auto Trait Implementations§
impl Freeze for PutLifecycleEventHookExecutionStatusInputBuilder
impl RefUnwindSafe for PutLifecycleEventHookExecutionStatusInputBuilder
impl Send for PutLifecycleEventHookExecutionStatusInputBuilder
impl Sync for PutLifecycleEventHookExecutionStatusInputBuilder
impl Unpin for PutLifecycleEventHookExecutionStatusInputBuilder
impl UnwindSafe for PutLifecycleEventHookExecutionStatusInputBuilder
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