Struct aws_sdk_s3control::model::async_error_details::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AsyncErrorDetails.
Implementations§
source§impl 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 description 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 description 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.