Struct aws_sdk_codepipeline::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultInputBuilder
source · #[non_exhaustive]pub struct PutThirdPartyJobFailureResultInputBuilder { /* private fields */ }
Expand description
A builder for PutThirdPartyJobFailureResultInput
.
Implementations§
source§impl PutThirdPartyJobFailureResultInputBuilder
impl PutThirdPartyJobFailureResultInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<PutThirdPartyJobFailureResultInput, BuildError>
pub fn build(self) -> Result<PutThirdPartyJobFailureResultInput, BuildError>
Consumes the builder and constructs a PutThirdPartyJobFailureResultInput
.
source§impl PutThirdPartyJobFailureResultInputBuilder
impl PutThirdPartyJobFailureResultInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PutThirdPartyJobFailureResultOutput, SdkError<PutThirdPartyJobFailureResultError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PutThirdPartyJobFailureResultOutput, SdkError<PutThirdPartyJobFailureResultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutThirdPartyJobFailureResultInputBuilder
impl Clone for PutThirdPartyJobFailureResultInputBuilder
source§fn clone(&self) -> PutThirdPartyJobFailureResultInputBuilder
fn clone(&self) -> PutThirdPartyJobFailureResultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutThirdPartyJobFailureResultInputBuilder
impl Default for PutThirdPartyJobFailureResultInputBuilder
source§fn default() -> PutThirdPartyJobFailureResultInputBuilder
fn default() -> PutThirdPartyJobFailureResultInputBuilder
source§impl PartialEq for PutThirdPartyJobFailureResultInputBuilder
impl PartialEq for PutThirdPartyJobFailureResultInputBuilder
source§fn eq(&self, other: &PutThirdPartyJobFailureResultInputBuilder) -> bool
fn eq(&self, other: &PutThirdPartyJobFailureResultInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutThirdPartyJobFailureResultInputBuilder
Auto Trait Implementations§
impl Freeze for PutThirdPartyJobFailureResultInputBuilder
impl RefUnwindSafe for PutThirdPartyJobFailureResultInputBuilder
impl Send for PutThirdPartyJobFailureResultInputBuilder
impl Sync for PutThirdPartyJobFailureResultInputBuilder
impl Unpin for PutThirdPartyJobFailureResultInputBuilder
impl UnwindSafe for PutThirdPartyJobFailureResultInputBuilder
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