#[non_exhaustive]pub struct UserStackAssociationErrorBuilder { /* private fields */ }Expand description
A builder for UserStackAssociationError.
Implementations§
source§impl UserStackAssociationErrorBuilder
 
impl UserStackAssociationErrorBuilder
sourcepub fn user_stack_association(self, input: UserStackAssociation) -> Self
 
pub fn user_stack_association(self, input: UserStackAssociation) -> Self
Information about the user and associated stack.
sourcepub fn set_user_stack_association(
    self,
    input: Option<UserStackAssociation>
) -> Self
 
pub fn set_user_stack_association( self, input: Option<UserStackAssociation> ) -> Self
Information about the user and associated stack.
sourcepub fn get_user_stack_association(&self) -> &Option<UserStackAssociation>
 
pub fn get_user_stack_association(&self) -> &Option<UserStackAssociation>
Information about the user and associated stack.
sourcepub fn error_code(self, input: UserStackAssociationErrorCode) -> Self
 
pub fn error_code(self, input: UserStackAssociationErrorCode) -> Self
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
sourcepub fn set_error_code(
    self,
    input: Option<UserStackAssociationErrorCode>
) -> Self
 
pub fn set_error_code( self, input: Option<UserStackAssociationErrorCode> ) -> Self
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
sourcepub fn get_error_code(&self) -> &Option<UserStackAssociationErrorCode>
 
pub fn get_error_code(&self) -> &Option<UserStackAssociationErrorCode>
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
 
pub fn error_message(self, input: impl Into<String>) -> Self
The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
 
pub fn set_error_message(self, input: Option<String>) -> Self
The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
sourcepub fn get_error_message(&self) -> &Option<String>
 
pub fn get_error_message(&self) -> &Option<String>
The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
sourcepub fn build(self) -> UserStackAssociationError
 
pub fn build(self) -> UserStackAssociationError
Consumes the builder and constructs a UserStackAssociationError.
Trait Implementations§
source§impl Clone for UserStackAssociationErrorBuilder
 
impl Clone for UserStackAssociationErrorBuilder
source§fn clone(&self) -> UserStackAssociationErrorBuilder
 
fn clone(&self) -> UserStackAssociationErrorBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UserStackAssociationErrorBuilder
 
impl Default for UserStackAssociationErrorBuilder
source§fn default() -> UserStackAssociationErrorBuilder
 
fn default() -> UserStackAssociationErrorBuilder
source§impl PartialEq<UserStackAssociationErrorBuilder> for UserStackAssociationErrorBuilder
 
impl PartialEq<UserStackAssociationErrorBuilder> for UserStackAssociationErrorBuilder
source§fn eq(&self, other: &UserStackAssociationErrorBuilder) -> bool
 
fn eq(&self, other: &UserStackAssociationErrorBuilder) -> bool
self and other values to be equal, and is used
by ==.