#[non_exhaustive]pub struct FailedConfigurationBuilder { /* private fields */ }Expand description
A builder for FailedConfiguration.
Implementations§
source§impl FailedConfigurationBuilder
impl FailedConfigurationBuilder
sourcepub fn configuration_id(self, input: impl Into<String>) -> Self
pub fn configuration_id(self, input: impl Into<String>) -> Self
The unique identifier of the configuration the failed to delete.
sourcepub fn set_configuration_id(self, input: Option<String>) -> Self
pub fn set_configuration_id(self, input: Option<String>) -> Self
The unique identifier of the configuration the failed to delete.
sourcepub fn get_configuration_id(&self) -> &Option<String>
pub fn get_configuration_id(&self) -> &Option<String>
The unique identifier of the configuration the failed to delete.
sourcepub fn error_status_code(self, input: i32) -> Self
pub fn error_status_code(self, input: i32) -> Self
The integer error code associated with the error message.
sourcepub fn set_error_status_code(self, input: Option<i32>) -> Self
pub fn set_error_status_code(self, input: Option<i32>) -> Self
The integer error code associated with the error message.
sourcepub fn get_error_status_code(&self) -> &Option<i32>
pub fn get_error_status_code(&self) -> &Option<i32>
The integer error code associated with the error message.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
A descriptive message indicating why the associated configuration failed to delete.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
A descriptive message indicating why the associated configuration failed to delete.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
A descriptive message indicating why the associated configuration failed to delete.
sourcepub fn build(self) -> FailedConfiguration
pub fn build(self) -> FailedConfiguration
Consumes the builder and constructs a FailedConfiguration.
Trait Implementations§
source§impl Clone for FailedConfigurationBuilder
impl Clone for FailedConfigurationBuilder
source§fn clone(&self) -> FailedConfigurationBuilder
fn clone(&self) -> FailedConfigurationBuilder
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 FailedConfigurationBuilder
impl Debug for FailedConfigurationBuilder
source§impl Default for FailedConfigurationBuilder
impl Default for FailedConfigurationBuilder
source§fn default() -> FailedConfigurationBuilder
fn default() -> FailedConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FailedConfigurationBuilder
impl PartialEq for FailedConfigurationBuilder
source§fn eq(&self, other: &FailedConfigurationBuilder) -> bool
fn eq(&self, other: &FailedConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FailedConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FailedConfigurationBuilder
impl Send for FailedConfigurationBuilder
impl Sync for FailedConfigurationBuilder
impl Unpin for FailedConfigurationBuilder
impl UnwindSafe for FailedConfigurationBuilder
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.