Struct aws_sdk_codepipeline::operation::put_job_failure_result::builders::PutJobFailureResultInputBuilder
source · #[non_exhaustive]pub struct PutJobFailureResultInputBuilder { /* private fields */ }
Expand description
A builder for PutJobFailureResultInput
.
Implementations§
source§impl PutJobFailureResultInputBuilder
impl PutJobFailureResultInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<PutJobFailureResultInput, BuildError>
pub fn build(self) -> Result<PutJobFailureResultInput, BuildError>
Consumes the builder and constructs a PutJobFailureResultInput
.
source§impl PutJobFailureResultInputBuilder
impl PutJobFailureResultInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutJobFailureResultOutput, SdkError<PutJobFailureResultError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutJobFailureResultOutput, SdkError<PutJobFailureResultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutJobFailureResultInputBuilder
impl Clone for PutJobFailureResultInputBuilder
source§fn clone(&self) -> PutJobFailureResultInputBuilder
fn clone(&self) -> PutJobFailureResultInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PutJobFailureResultInputBuilder
impl Default for PutJobFailureResultInputBuilder
source§fn default() -> PutJobFailureResultInputBuilder
fn default() -> PutJobFailureResultInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutJobFailureResultInputBuilder
impl PartialEq for PutJobFailureResultInputBuilder
source§fn eq(&self, other: &PutJobFailureResultInputBuilder) -> bool
fn eq(&self, other: &PutJobFailureResultInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutJobFailureResultInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PutJobFailureResultInputBuilder
impl Send for PutJobFailureResultInputBuilder
impl Sync for PutJobFailureResultInputBuilder
impl Unpin for PutJobFailureResultInputBuilder
impl UnwindSafe for PutJobFailureResultInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.