Struct aws_sdk_grafana::types::builders::AssertionAttributesBuilder
source · #[non_exhaustive]pub struct AssertionAttributesBuilder { /* private fields */ }
Expand description
A builder for AssertionAttributes
.
Implementations§
source§impl AssertionAttributesBuilder
impl AssertionAttributesBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
sourcepub fn login(self, input: impl Into<String>) -> Self
pub fn login(self, input: impl Into<String>) -> Self
The name of the attribute within the SAML assertion to use as the login names for SAML users.
sourcepub fn set_login(self, input: Option<String>) -> Self
pub fn set_login(self, input: Option<String>) -> Self
The name of the attribute within the SAML assertion to use as the login names for SAML users.
sourcepub fn get_login(&self) -> &Option<String>
pub fn get_login(&self) -> &Option<String>
The name of the attribute within the SAML assertion to use as the login names for SAML users.
sourcepub fn email(self, input: impl Into<String>) -> Self
pub fn email(self, input: impl Into<String>) -> Self
The name of the attribute within the SAML assertion to use as the email names for SAML users.
sourcepub fn set_email(self, input: Option<String>) -> Self
pub fn set_email(self, input: Option<String>) -> Self
The name of the attribute within the SAML assertion to use as the email names for SAML users.
sourcepub fn get_email(&self) -> &Option<String>
pub fn get_email(&self) -> &Option<String>
The name of the attribute within the SAML assertion to use as the email names for SAML users.
sourcepub fn groups(self, input: impl Into<String>) -> Self
pub fn groups(self, input: impl Into<String>) -> Self
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
sourcepub fn set_groups(self, input: Option<String>) -> Self
pub fn set_groups(self, input: Option<String>) -> Self
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
sourcepub fn get_groups(&self) -> &Option<String>
pub fn get_groups(&self) -> &Option<String>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The name of the attribute within the SAML assertion to use as the user roles.
sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The name of the attribute within the SAML assertion to use as the user roles.
sourcepub fn get_role(&self) -> &Option<String>
pub fn get_role(&self) -> &Option<String>
The name of the attribute within the SAML assertion to use as the user roles.
sourcepub fn org(self, input: impl Into<String>) -> Self
pub fn org(self, input: impl Into<String>) -> Self
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
sourcepub fn set_org(self, input: Option<String>) -> Self
pub fn set_org(self, input: Option<String>) -> Self
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
sourcepub fn get_org(&self) -> &Option<String>
pub fn get_org(&self) -> &Option<String>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
sourcepub fn build(self) -> AssertionAttributes
pub fn build(self) -> AssertionAttributes
Consumes the builder and constructs a AssertionAttributes
.
Trait Implementations§
source§impl Clone for AssertionAttributesBuilder
impl Clone for AssertionAttributesBuilder
source§fn clone(&self) -> AssertionAttributesBuilder
fn clone(&self) -> AssertionAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssertionAttributesBuilder
impl Debug for AssertionAttributesBuilder
source§impl Default for AssertionAttributesBuilder
impl Default for AssertionAttributesBuilder
source§fn default() -> AssertionAttributesBuilder
fn default() -> AssertionAttributesBuilder
source§impl PartialEq for AssertionAttributesBuilder
impl PartialEq for AssertionAttributesBuilder
source§fn eq(&self, other: &AssertionAttributesBuilder) -> bool
fn eq(&self, other: &AssertionAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssertionAttributesBuilder
Auto Trait Implementations§
impl Freeze for AssertionAttributesBuilder
impl RefUnwindSafe for AssertionAttributesBuilder
impl Send for AssertionAttributesBuilder
impl Sync for AssertionAttributesBuilder
impl Unpin for AssertionAttributesBuilder
impl UnwindSafe for AssertionAttributesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more