Struct aws_sdk_appstream::types::builders::FleetErrorBuilder
source · #[non_exhaustive]pub struct FleetErrorBuilder { /* private fields */ }Expand description
A builder for FleetError.
Implementations§
source§impl FleetErrorBuilder
impl FleetErrorBuilder
sourcepub fn error_code(self, input: FleetErrorCode) -> Self
pub fn error_code(self, input: FleetErrorCode) -> Self
The error code.
sourcepub fn set_error_code(self, input: Option<FleetErrorCode>) -> Self
pub fn set_error_code(self, input: Option<FleetErrorCode>) -> Self
The error code.
sourcepub fn get_error_code(&self) -> &Option<FleetErrorCode>
pub fn get_error_code(&self) -> &Option<FleetErrorCode>
The error code.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message.
sourcepub fn build(self) -> FleetError
pub fn build(self) -> FleetError
Consumes the builder and constructs a FleetError.
Trait Implementations§
source§impl Clone for FleetErrorBuilder
impl Clone for FleetErrorBuilder
source§fn clone(&self) -> FleetErrorBuilder
fn clone(&self) -> FleetErrorBuilder
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 FleetErrorBuilder
impl Debug for FleetErrorBuilder
source§impl Default for FleetErrorBuilder
impl Default for FleetErrorBuilder
source§fn default() -> FleetErrorBuilder
fn default() -> FleetErrorBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FleetErrorBuilder
impl PartialEq for FleetErrorBuilder
source§fn eq(&self, other: &FleetErrorBuilder) -> bool
fn eq(&self, other: &FleetErrorBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FleetErrorBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FleetErrorBuilder
impl Send for FleetErrorBuilder
impl Sync for FleetErrorBuilder
impl Unpin for FleetErrorBuilder
impl UnwindSafe for FleetErrorBuilder
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.