#[non_exhaustive]pub struct UserAccessResultItemBuilder { /* private fields */ }
Expand description
A builder for UserAccessResultItem
.
Implementations§
source§impl UserAccessResultItemBuilder
impl UserAccessResultItemBuilder
sourcepub fn set_tenant_id(self, input: Option<String>) -> Self
pub fn set_tenant_id(self, input: Option<String>) -> Self
The ID of the application tenant.
sourcepub fn get_tenant_id(&self) -> &Option<String>
pub fn get_tenant_id(&self) -> &Option<String>
The ID of the application tenant.
sourcepub fn tenant_display_name(self, input: impl Into<String>) -> Self
pub fn tenant_display_name(self, input: impl Into<String>) -> Self
The display name of the tenant.
sourcepub fn set_tenant_display_name(self, input: Option<String>) -> Self
pub fn set_tenant_display_name(self, input: Option<String>) -> Self
The display name of the tenant.
sourcepub fn get_tenant_display_name(&self) -> &Option<String>
pub fn get_tenant_display_name(&self) -> &Option<String>
The display name of the tenant.
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The unique ID of the task.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The unique ID of the task.
sourcepub fn result_status(self, input: ResultStatus) -> Self
pub fn result_status(self, input: ResultStatus) -> Self
The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
sourcepub fn set_result_status(self, input: Option<ResultStatus>) -> Self
pub fn set_result_status(self, input: Option<ResultStatus>) -> Self
The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
sourcepub fn get_result_status(&self) -> &Option<ResultStatus>
pub fn get_result_status(&self) -> &Option<ResultStatus>
The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The unique ID of user.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The unique ID of user.
sourcepub fn user_full_name(self, input: impl Into<String>) -> Self
pub fn user_full_name(self, input: impl Into<String>) -> Self
The full name of the user.
sourcepub fn set_user_full_name(self, input: Option<String>) -> Self
pub fn set_user_full_name(self, input: Option<String>) -> Self
The full name of the user.
sourcepub fn get_user_full_name(&self) -> &Option<String>
pub fn get_user_full_name(&self) -> &Option<String>
The full name of the user.
sourcepub fn user_first_name(self, input: impl Into<String>) -> Self
pub fn user_first_name(self, input: impl Into<String>) -> Self
The first name of the user.
sourcepub fn set_user_first_name(self, input: Option<String>) -> Self
pub fn set_user_first_name(self, input: Option<String>) -> Self
The first name of the user.
sourcepub fn get_user_first_name(&self) -> &Option<String>
pub fn get_user_first_name(&self) -> &Option<String>
The first name of the user.
sourcepub fn user_last_name(self, input: impl Into<String>) -> Self
pub fn user_last_name(self, input: impl Into<String>) -> Self
The last name of the user.
sourcepub fn set_user_last_name(self, input: Option<String>) -> Self
pub fn set_user_last_name(self, input: Option<String>) -> Self
The last name of the user.
sourcepub fn get_user_last_name(&self) -> &Option<String>
pub fn get_user_last_name(&self) -> &Option<String>
The last name of the user.
sourcepub fn user_status(self, input: impl Into<String>) -> Self
pub fn user_status(self, input: impl Into<String>) -> Self
The status of the user returned by the application.
sourcepub fn set_user_status(self, input: Option<String>) -> Self
pub fn set_user_status(self, input: Option<String>) -> Self
The status of the user returned by the application.
sourcepub fn get_user_status(&self) -> &Option<String>
pub fn get_user_status(&self) -> &Option<String>
The status of the user returned by the application.
sourcepub fn task_error(self, input: TaskError) -> Self
pub fn task_error(self, input: TaskError) -> Self
Contains information about an error returned from a user access task.
sourcepub fn set_task_error(self, input: Option<TaskError>) -> Self
pub fn set_task_error(self, input: Option<TaskError>) -> Self
Contains information about an error returned from a user access task.
sourcepub fn get_task_error(&self) -> &Option<TaskError>
pub fn get_task_error(&self) -> &Option<TaskError>
Contains information about an error returned from a user access task.
sourcepub fn build(self) -> UserAccessResultItem
pub fn build(self) -> UserAccessResultItem
Consumes the builder and constructs a UserAccessResultItem
.
Trait Implementations§
source§impl Clone for UserAccessResultItemBuilder
impl Clone for UserAccessResultItemBuilder
source§fn clone(&self) -> UserAccessResultItemBuilder
fn clone(&self) -> UserAccessResultItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserAccessResultItemBuilder
impl Debug for UserAccessResultItemBuilder
source§impl Default for UserAccessResultItemBuilder
impl Default for UserAccessResultItemBuilder
source§fn default() -> UserAccessResultItemBuilder
fn default() -> UserAccessResultItemBuilder
source§impl PartialEq<UserAccessResultItemBuilder> for UserAccessResultItemBuilder
impl PartialEq<UserAccessResultItemBuilder> for UserAccessResultItemBuilder
source§fn eq(&self, other: &UserAccessResultItemBuilder) -> bool
fn eq(&self, other: &UserAccessResultItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.