Struct aws_sdk_macie2::types::builders::UnprocessedAccountBuilder
source · #[non_exhaustive]pub struct UnprocessedAccountBuilder { /* private fields */ }
Expand description
A builder for UnprocessedAccount
.
Implementations§
source§impl UnprocessedAccountBuilder
impl UnprocessedAccountBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID for the account that the request applies to.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID for the account that the request applies to.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID for the account that the request applies to.
sourcepub fn error_code(self, input: ErrorCode) -> Self
pub fn error_code(self, input: ErrorCode) -> Self
The source of the issue or delay in processing the request.
sourcepub fn set_error_code(self, input: Option<ErrorCode>) -> Self
pub fn set_error_code(self, input: Option<ErrorCode>) -> Self
The source of the issue or delay in processing the request.
sourcepub fn get_error_code(&self) -> &Option<ErrorCode>
pub fn get_error_code(&self) -> &Option<ErrorCode>
The source of the issue or delay in processing the request.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The reason why the request hasn't been processed.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The reason why the request hasn't been processed.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The reason why the request hasn't been processed.
sourcepub fn build(self) -> UnprocessedAccount
pub fn build(self) -> UnprocessedAccount
Consumes the builder and constructs a UnprocessedAccount
.
Trait Implementations§
source§impl Clone for UnprocessedAccountBuilder
impl Clone for UnprocessedAccountBuilder
source§fn clone(&self) -> UnprocessedAccountBuilder
fn clone(&self) -> UnprocessedAccountBuilder
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 UnprocessedAccountBuilder
impl Debug for UnprocessedAccountBuilder
source§impl Default for UnprocessedAccountBuilder
impl Default for UnprocessedAccountBuilder
source§fn default() -> UnprocessedAccountBuilder
fn default() -> UnprocessedAccountBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UnprocessedAccountBuilder
impl PartialEq for UnprocessedAccountBuilder
source§fn eq(&self, other: &UnprocessedAccountBuilder) -> bool
fn eq(&self, other: &UnprocessedAccountBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnprocessedAccountBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UnprocessedAccountBuilder
impl Send for UnprocessedAccountBuilder
impl Sync for UnprocessedAccountBuilder
impl Unpin for UnprocessedAccountBuilder
impl UnwindSafe for UnprocessedAccountBuilder
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.