Struct aws_sdk_codepipeline::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultFluentBuilder
source · pub struct PutThirdPartyJobFailureResultFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutThirdPartyJobFailureResult
.
Represents the failure of a third party job as returned to the pipeline by a job worker. Used for partner actions only.
Implementations§
source§impl PutThirdPartyJobFailureResultFluentBuilder
impl PutThirdPartyJobFailureResultFluentBuilder
sourcepub fn as_input(&self) -> &PutThirdPartyJobFailureResultInputBuilder
pub fn as_input(&self) -> &PutThirdPartyJobFailureResultInputBuilder
Access the PutThirdPartyJobFailureResult as a reference.
sourcepub async fn send(
self,
) -> Result<PutThirdPartyJobFailureResultOutput, SdkError<PutThirdPartyJobFailureResultError, HttpResponse>>
pub async fn send( self, ) -> Result<PutThirdPartyJobFailureResultOutput, SdkError<PutThirdPartyJobFailureResultError, 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<PutThirdPartyJobFailureResultOutput, PutThirdPartyJobFailureResultError, Self>
pub fn customize( self, ) -> CustomizableOperation<PutThirdPartyJobFailureResultOutput, PutThirdPartyJobFailureResultError, 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 ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs
.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs
.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs
.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
sourcepub fn failure_details(self, input: FailureDetails) -> Self
pub fn failure_details(self, input: FailureDetails) -> Self
Represents information about failure details.
sourcepub fn set_failure_details(self, input: Option<FailureDetails>) -> Self
pub fn set_failure_details(self, input: Option<FailureDetails>) -> Self
Represents information about failure details.
sourcepub fn get_failure_details(&self) -> &Option<FailureDetails>
pub fn get_failure_details(&self) -> &Option<FailureDetails>
Represents information about failure details.
Trait Implementations§
source§impl Clone for PutThirdPartyJobFailureResultFluentBuilder
impl Clone for PutThirdPartyJobFailureResultFluentBuilder
source§fn clone(&self) -> PutThirdPartyJobFailureResultFluentBuilder
fn clone(&self) -> PutThirdPartyJobFailureResultFluentBuilder
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 PutThirdPartyJobFailureResultFluentBuilder
impl !RefUnwindSafe for PutThirdPartyJobFailureResultFluentBuilder
impl Send for PutThirdPartyJobFailureResultFluentBuilder
impl Sync for PutThirdPartyJobFailureResultFluentBuilder
impl Unpin for PutThirdPartyJobFailureResultFluentBuilder
impl !UnwindSafe for PutThirdPartyJobFailureResultFluentBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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