Struct aws_sdk_s3outposts::types::builders::FailedReasonBuilder
source · #[non_exhaustive]pub struct FailedReasonBuilder { /* private fields */ }Expand description
A builder for FailedReason.
Implementations§
source§impl FailedReasonBuilder
impl FailedReasonBuilder
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The failure code, if any, for a create or delete endpoint operation.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The failure code, if any, for a create or delete endpoint operation.
sourcepub fn get_error_code(&self) -> &Option<String>
pub fn get_error_code(&self) -> &Option<String>
The failure code, if any, for a create or delete endpoint operation.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
Additional error details describing the endpoint failure and recommended action.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Additional error details describing the endpoint failure and recommended action.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
Additional error details describing the endpoint failure and recommended action.
sourcepub fn build(self) -> FailedReason
pub fn build(self) -> FailedReason
Consumes the builder and constructs a FailedReason.
Trait Implementations§
source§impl Clone for FailedReasonBuilder
impl Clone for FailedReasonBuilder
source§fn clone(&self) -> FailedReasonBuilder
fn clone(&self) -> FailedReasonBuilder
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 FailedReasonBuilder
impl Debug for FailedReasonBuilder
source§impl Default for FailedReasonBuilder
impl Default for FailedReasonBuilder
source§fn default() -> FailedReasonBuilder
fn default() -> FailedReasonBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FailedReasonBuilder
impl PartialEq for FailedReasonBuilder
source§fn eq(&self, other: &FailedReasonBuilder) -> bool
fn eq(&self, other: &FailedReasonBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FailedReasonBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FailedReasonBuilder
impl Send for FailedReasonBuilder
impl Sync for FailedReasonBuilder
impl Unpin for FailedReasonBuilder
impl UnwindSafe for FailedReasonBuilder
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.