Struct aws_sdk_securityhub::model::account_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AccountDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The ID of an Amazon Web Services account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The ID of an Amazon Web Services account.
sourcepub fn email(self, input: impl Into<String>) -> Self
pub fn email(self, input: impl Into<String>) -> Self
The email of an Amazon Web Services account.
sourcepub fn set_email(self, input: Option<String>) -> Self
pub fn set_email(self, input: Option<String>) -> Self
The email of an Amazon Web Services account.
sourcepub fn build(self) -> AccountDetails
pub fn build(self) -> AccountDetails
Consumes the builder and constructs a AccountDetails
.