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 ==
.