Struct aws_sdk_sso::input::list_account_roles_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListAccountRolesInput
.
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 from the previous response output when you request subsequent pages.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The page token from the previous response output when you request subsequent pages.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The number of items that 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
The number of items that 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 account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The identifier for the AWS account that is assigned to the user.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The identifier for the AWS account that is assigned to the user.
sourcepub fn build(self) -> Result<ListAccountRolesInput, BuildError>
pub fn build(self) -> Result<ListAccountRolesInput, BuildError>
Consumes the builder and constructs a ListAccountRolesInput
.