Struct aws_sdk_securityhub::input::create_members_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateMembersInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn account_details(self, input: AccountDetails) -> Self
pub fn account_details(self, input: AccountDetails) -> Self
Appends an item to account_details
.
To override the contents of this collection use set_account_details
.
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
sourcepub fn set_account_details(self, input: Option<Vec<AccountDetails>>) -> Self
pub fn set_account_details(self, input: Option<Vec<AccountDetails>>) -> Self
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
sourcepub fn build(self) -> Result<CreateMembersInput, BuildError>
pub fn build(self) -> Result<CreateMembersInput, BuildError>
Consumes the builder and constructs a CreateMembersInput
.