Struct aws_sdk_sso::output::list_account_roles_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListAccountRolesOutput
.
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 role_list(self, input: RoleInfo) -> Self
pub fn role_list(self, input: RoleInfo) -> Self
Appends an item to role_list
.
To override the contents of this collection use set_role_list
.
A paginated response with the list of roles and the next token if more results are available.
sourcepub fn set_role_list(self, input: Option<Vec<RoleInfo>>) -> Self
pub fn set_role_list(self, input: Option<Vec<RoleInfo>>) -> Self
A paginated response with the list of roles and the next token if more results are available.
sourcepub fn build(self) -> ListAccountRolesOutput
pub fn build(self) -> ListAccountRolesOutput
Consumes the builder and constructs a ListAccountRolesOutput
.