Struct aws_sdk_codepipeline::operation::put_job_failure_result::builders::PutJobFailureResultFluentBuilder
source · pub struct PutJobFailureResultFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutJobFailureResult
.
Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only.
Implementations§
source§impl PutJobFailureResultFluentBuilder
impl PutJobFailureResultFluentBuilder
sourcepub fn as_input(&self) -> &PutJobFailureResultInputBuilder
pub fn as_input(&self) -> &PutJobFailureResultInputBuilder
Access the PutJobFailureResult as a reference.
sourcepub async fn send(
self,
) -> Result<PutJobFailureResultOutput, SdkError<PutJobFailureResultError, HttpResponse>>
pub async fn send( self, ) -> Result<PutJobFailureResultOutput, SdkError<PutJobFailureResultError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<PutJobFailureResultOutput, PutJobFailureResultError, Self>
pub fn customize( self, ) -> CustomizableOperation<PutJobFailureResultOutput, PutJobFailureResultError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs
.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs
.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs
.
sourcepub fn failure_details(self, input: FailureDetails) -> Self
pub fn failure_details(self, input: FailureDetails) -> Self
The details about the failure of a job.
sourcepub fn set_failure_details(self, input: Option<FailureDetails>) -> Self
pub fn set_failure_details(self, input: Option<FailureDetails>) -> Self
The details about the failure of a job.
sourcepub fn get_failure_details(&self) -> &Option<FailureDetails>
pub fn get_failure_details(&self) -> &Option<FailureDetails>
The details about the failure of a job.
Trait Implementations§
source§impl Clone for PutJobFailureResultFluentBuilder
impl Clone for PutJobFailureResultFluentBuilder
source§fn clone(&self) -> PutJobFailureResultFluentBuilder
fn clone(&self) -> PutJobFailureResultFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for PutJobFailureResultFluentBuilder
impl !RefUnwindSafe for PutJobFailureResultFluentBuilder
impl Send for PutJobFailureResultFluentBuilder
impl Sync for PutJobFailureResultFluentBuilder
impl Unpin for PutJobFailureResultFluentBuilder
impl !UnwindSafe for PutJobFailureResultFluentBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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