#[non_exhaustive]pub struct DescribeUsersInputBuilder { /* private fields */ }
Expand description
A builder for DescribeUsersInput
.
Implementations§
source§impl DescribeUsersInputBuilder
impl DescribeUsersInputBuilder
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 Amazon Web Services 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 Amazon Web Services administrator credentials to access the API.
sourcepub fn get_authentication_token(&self) -> &Option<String>
pub fn get_authentication_token(&self) -> &Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services 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 get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
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 get_user_ids(&self) -> &Option<String>
pub fn get_user_ids(&self) -> &Option<String>
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 get_query(&self) -> &Option<String>
pub fn get_query(&self) -> &Option<String>
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 get_include(&self) -> &Option<UserFilterType>
pub fn get_include(&self) -> &Option<UserFilterType>
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 get_sort(&self) -> &Option<UserSortType>
pub fn get_sort(&self) -> &Option<UserSortType>
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 get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
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 get_fields(&self) -> &Option<String>
pub fn get_fields(&self) -> &Option<String>
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
.
source§impl DescribeUsersInputBuilder
impl DescribeUsersInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeUsersOutput, SdkError<DescribeUsersError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeUsersOutput, SdkError<DescribeUsersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeUsersInputBuilder
impl Clone for DescribeUsersInputBuilder
source§fn clone(&self) -> DescribeUsersInputBuilder
fn clone(&self) -> DescribeUsersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeUsersInputBuilder
impl Debug for DescribeUsersInputBuilder
source§impl Default for DescribeUsersInputBuilder
impl Default for DescribeUsersInputBuilder
source§fn default() -> DescribeUsersInputBuilder
fn default() -> DescribeUsersInputBuilder
source§impl PartialEq for DescribeUsersInputBuilder
impl PartialEq for DescribeUsersInputBuilder
source§fn eq(&self, other: &DescribeUsersInputBuilder) -> bool
fn eq(&self, other: &DescribeUsersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.