Struct aws_sdk_workdocs::input::describe_users_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeUsersInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn authentication_token(self, input: impl Into<String>) -> Self
pub fn authentication_token(self, input: impl Into<String>) -> Self
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
sourcepub fn set_authentication_token(self, input: Option<String>) -> Self
pub fn set_authentication_token(self, input: Option<String>) -> Self
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The ID of the organization.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The ID of the organization.
sourcepub fn set_user_ids(self, input: Option<String>) -> Self
pub fn set_user_ids(self, input: Option<String>) -> Self
The IDs of the users.
sourcepub fn query(self, input: impl Into<String>) -> Self
pub fn query(self, input: impl Into<String>) -> Self
A query to filter users by user name. Remember the following about the Userids
and Query
parameters:
-
If you don't use either parameter, the API returns a paginated list of all users on the site.
-
If you use both parameters, the API ignores the
Query
parameter. -
The
Userid
parameter only returns user names that match a corresponding user ID. -
The
Query
parameter runs a "prefix" search for users by theGivenName
,SurName
, orUserName
fields included in a CreateUser API call. For example, querying onMa
returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying onMa J
only returns Mateo Jackson.
sourcepub fn set_query(self, input: Option<String>) -> Self
pub fn set_query(self, input: Option<String>) -> Self
A query to filter users by user name. Remember the following about the Userids
and Query
parameters:
-
If you don't use either parameter, the API returns a paginated list of all users on the site.
-
If you use both parameters, the API ignores the
Query
parameter. -
The
Userid
parameter only returns user names that match a corresponding user ID. -
The
Query
parameter runs a "prefix" search for users by theGivenName
,SurName
, orUserName
fields included in a CreateUser API call. For example, querying onMa
returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying onMa J
only returns Mateo Jackson.
sourcepub fn include(self, input: UserFilterType) -> Self
pub fn include(self, input: UserFilterType) -> Self
The state of the users. Specify "ALL" to include inactive users.
sourcepub fn set_include(self, input: Option<UserFilterType>) -> Self
pub fn set_include(self, input: Option<UserFilterType>) -> Self
The state of the users. Specify "ALL" to include inactive users.
sourcepub fn sort(self, input: UserSortType) -> Self
pub fn sort(self, input: UserSortType) -> Self
The sorting criteria.
sourcepub fn set_sort(self, input: Option<UserSortType>) -> Self
pub fn set_sort(self, input: Option<UserSortType>) -> Self
The sorting criteria.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The marker for the next set of results. (You received this marker from a previous call.)
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The marker for the next set of results. (You received this marker from a previous call.)
sourcepub fn fields(self, input: impl Into<String>) -> Self
pub fn fields(self, input: impl Into<String>) -> Self
A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.
sourcepub fn set_fields(self, input: Option<String>) -> Self
pub fn set_fields(self, input: Option<String>) -> Self
A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.
sourcepub fn build(self) -> Result<DescribeUsersInput, BuildError>
pub fn build(self) -> Result<DescribeUsersInput, BuildError>
Consumes the builder and constructs a DescribeUsersInput
.