Struct aws_sdk_s3control::model::async_error_details::Builder   
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for AsyncErrorDetails.
Implementations
sourceimpl Builder
 
impl Builder
sourcepub fn code(self, input: impl Into<String>) -> Self
 
pub fn code(self, input: impl Into<String>) -> Self
A string that uniquely identifies the error condition.
sourcepub fn set_code(self, input: Option<String>) -> Self
 
pub fn set_code(self, input: Option<String>) -> Self
A string that uniquely identifies the error condition.
sourcepub fn message(self, input: impl Into<String>) -> Self
 
pub fn message(self, input: impl Into<String>) -> Self
A generic descritpion of the error condition in English.
sourcepub fn set_message(self, input: Option<String>) -> Self
 
pub fn set_message(self, input: Option<String>) -> Self
A generic descritpion of the error condition in English.
sourcepub fn resource(self, input: impl Into<String>) -> Self
 
pub fn resource(self, input: impl Into<String>) -> Self
The identifier of the resource associated with the error.
sourcepub fn set_resource(self, input: Option<String>) -> Self
 
pub fn set_resource(self, input: Option<String>) -> Self
The identifier of the resource associated with the error.
sourcepub fn request_id(self, input: impl Into<String>) -> Self
 
pub fn request_id(self, input: impl Into<String>) -> Self
The ID of the request associated with the error.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
 
pub fn set_request_id(self, input: Option<String>) -> Self
The ID of the request associated with the error.
sourcepub fn build(self) -> AsyncErrorDetails
 
pub fn build(self) -> AsyncErrorDetails
Consumes the builder and constructs a AsyncErrorDetails.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more