#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for User
Implementations
sourceimpl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the user.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the user.
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The user's user name. In the output, the value for UserName is N/A when the value for IdentityType is IAM and the corresponding IAM user is deleted.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The user's user name. In the output, the value for UserName is N/A when the value for IdentityType is IAM and the corresponding IAM user is deleted.
sourcepub fn role(self, input: UserRole) -> Self
pub fn role(self, input: UserRole) -> Self
The Amazon QuickSight role for the user. The user role can be one of the following:.
-
READER: A user who has read-only access to dashboards. -
AUTHOR: A user who can create data sources, datasets, analyses, and dashboards. -
ADMIN: A user who is an author, who can also manage Amazon Amazon QuickSight settings. -
RESTRICTED_READER: This role isn't currently available for use. -
RESTRICTED_AUTHOR: This role isn't currently available for use.
sourcepub fn set_role(self, input: Option<UserRole>) -> Self
pub fn set_role(self, input: Option<UserRole>) -> Self
The Amazon QuickSight role for the user. The user role can be one of the following:.
-
READER: A user who has read-only access to dashboards. -
AUTHOR: A user who can create data sources, datasets, analyses, and dashboards. -
ADMIN: A user who is an author, who can also manage Amazon Amazon QuickSight settings. -
RESTRICTED_READER: This role isn't currently available for use. -
RESTRICTED_AUTHOR: This role isn't currently available for use.
sourcepub fn identity_type(self, input: IdentityType) -> Self
pub fn identity_type(self, input: IdentityType) -> Self
The type of identity authentication used by the user.
sourcepub fn set_identity_type(self, input: Option<IdentityType>) -> Self
pub fn set_identity_type(self, input: Option<IdentityType>) -> Self
The type of identity authentication used by the user.
sourcepub fn active(self, input: bool) -> Self
pub fn active(self, input: bool) -> Self
The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.
sourcepub fn set_active(self, input: Option<bool>) -> Self
pub fn set_active(self, input: Option<bool>) -> Self
The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
The principal ID of the user.
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
The principal ID of the user.
sourcepub fn custom_permissions_name(self, input: impl Into<String>) -> Self
pub fn custom_permissions_name(self, input: impl Into<String>) -> Self
The custom permissions profile associated with this user.
sourcepub fn set_custom_permissions_name(self, input: Option<String>) -> Self
pub fn set_custom_permissions_name(self, input: Option<String>) -> Self
The custom permissions profile associated with this user.
sourcepub fn external_login_federation_provider_type(
self,
input: impl Into<String>
) -> Self
pub fn external_login_federation_provider_type(
self,
input: impl Into<String>
) -> Self
The type of supported external login provider that provides identity to let the user federate into Amazon QuickSight with an associated IAM role. The type can be one of the following.
-
COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. -
CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider.
sourcepub fn set_external_login_federation_provider_type(
self,
input: Option<String>
) -> Self
pub fn set_external_login_federation_provider_type(
self,
input: Option<String>
) -> Self
The type of supported external login provider that provides identity to let the user federate into Amazon QuickSight with an associated IAM role. The type can be one of the following.
-
COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. -
CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider.
sourcepub fn external_login_federation_provider_url(
self,
input: impl Into<String>
) -> Self
pub fn external_login_federation_provider_url(
self,
input: impl Into<String>
) -> Self
The URL of the external login provider.
sourcepub fn set_external_login_federation_provider_url(
self,
input: Option<String>
) -> Self
pub fn set_external_login_federation_provider_url(
self,
input: Option<String>
) -> Self
The URL of the external login provider.
sourcepub fn external_login_id(self, input: impl Into<String>) -> Self
pub fn external_login_id(self, input: impl Into<String>) -> Self
The identity ID for the user in the external login provider.
sourcepub fn set_external_login_id(self, input: Option<String>) -> Self
pub fn set_external_login_id(self, input: Option<String>) -> Self
The identity ID for the user in the external login provider.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more