Struct aws_sdk_sso::output::list_accounts_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListAccountsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The page token client that is used to retrieve the list of accounts.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The page token client that is used to retrieve the list of accounts.
sourcepub fn account_list(self, input: AccountInfo) -> Self
pub fn account_list(self, input: AccountInfo) -> Self
Appends an item to account_list
.
To override the contents of this collection use set_account_list
.
A paginated response with the list of account information and the next token if more results are available.
sourcepub fn set_account_list(self, input: Option<Vec<AccountInfo>>) -> Self
pub fn set_account_list(self, input: Option<Vec<AccountInfo>>) -> Self
A paginated response with the list of account information and the next token if more results are available.
sourcepub fn build(self) -> ListAccountsOutput
pub fn build(self) -> ListAccountsOutput
Consumes the builder and constructs a ListAccountsOutput
.