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