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 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 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 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<UnprocessedAccountBuilder> for UnprocessedAccountBuilder
impl PartialEq<UnprocessedAccountBuilder> 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 ==
.