Struct aws_sdk_s3control::types::builders::JobFailureBuilder
source · #[non_exhaustive]pub struct JobFailureBuilder { /* private fields */ }
Expand description
A builder for JobFailure
.
Implementations§
source§impl JobFailureBuilder
impl JobFailureBuilder
sourcepub fn failure_code(self, input: impl Into<String>) -> Self
pub fn failure_code(self, input: impl Into<String>) -> Self
The failure code, if any, for the specified job.
sourcepub fn set_failure_code(self, input: Option<String>) -> Self
pub fn set_failure_code(self, input: Option<String>) -> Self
The failure code, if any, for the specified job.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The failure reason, if any, for the specified job.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The failure reason, if any, for the specified job.
sourcepub fn build(self) -> JobFailure
pub fn build(self) -> JobFailure
Consumes the builder and constructs a JobFailure
.
Trait Implementations§
source§impl Clone for JobFailureBuilder
impl Clone for JobFailureBuilder
source§fn clone(&self) -> JobFailureBuilder
fn clone(&self) -> JobFailureBuilder
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 Debug for JobFailureBuilder
impl Debug for JobFailureBuilder
source§impl Default for JobFailureBuilder
impl Default for JobFailureBuilder
source§fn default() -> JobFailureBuilder
fn default() -> JobFailureBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<JobFailureBuilder> for JobFailureBuilder
impl PartialEq<JobFailureBuilder> for JobFailureBuilder
source§fn eq(&self, other: &JobFailureBuilder) -> bool
fn eq(&self, other: &JobFailureBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.