Struct aws_sdk_sso::input::list_accounts_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListAccountsInput
.
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
(Optional) When requesting subsequent pages, this is the page token from the previous response output.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
(Optional) When requesting subsequent pages, this is the page token from the previous response output.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
This is the number of items clients can request per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
This is the number of items clients can request per page.
sourcepub fn access_token(self, input: impl Into<String>) -> Self
pub fn access_token(self, input: impl Into<String>) -> Self
The token issued by the CreateToken
API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.
sourcepub fn set_access_token(self, input: Option<String>) -> Self
pub fn set_access_token(self, input: Option<String>) -> Self
The token issued by the CreateToken
API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.
sourcepub fn build(self) -> Result<ListAccountsInput, BuildError>
pub fn build(self) -> Result<ListAccountsInput, BuildError>
Consumes the builder and constructs a ListAccountsInput
.