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