Struct aws_sdk_grafana::types::builders::SamlConfigurationBuilder
source · #[non_exhaustive]pub struct SamlConfigurationBuilder { /* private fields */ }
Expand description
A builder for SamlConfiguration
.
Implementations§
source§impl SamlConfigurationBuilder
impl SamlConfigurationBuilder
sourcepub fn idp_metadata(self, input: IdpMetadata) -> Self
pub fn idp_metadata(self, input: IdpMetadata) -> Self
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
This field is required.sourcepub fn set_idp_metadata(self, input: Option<IdpMetadata>) -> Self
pub fn set_idp_metadata(self, input: Option<IdpMetadata>) -> Self
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
sourcepub fn get_idp_metadata(&self) -> &Option<IdpMetadata>
pub fn get_idp_metadata(&self) -> &Option<IdpMetadata>
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
sourcepub fn assertion_attributes(self, input: AssertionAttributes) -> Self
pub fn assertion_attributes(self, input: AssertionAttributes) -> Self
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.
sourcepub fn set_assertion_attributes(
self,
input: Option<AssertionAttributes>,
) -> Self
pub fn set_assertion_attributes( self, input: Option<AssertionAttributes>, ) -> Self
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.
sourcepub fn get_assertion_attributes(&self) -> &Option<AssertionAttributes>
pub fn get_assertion_attributes(&self) -> &Option<AssertionAttributes>
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.
sourcepub fn role_values(self, input: RoleValues) -> Self
pub fn role_values(self, input: RoleValues) -> Self
A structure containing arrays that map group names in the SAML assertion to the Grafana Admin
and Editor
roles in the workspace.
sourcepub fn set_role_values(self, input: Option<RoleValues>) -> Self
pub fn set_role_values(self, input: Option<RoleValues>) -> Self
A structure containing arrays that map group names in the SAML assertion to the Grafana Admin
and Editor
roles in the workspace.
sourcepub fn get_role_values(&self) -> &Option<RoleValues>
pub fn get_role_values(&self) -> &Option<RoleValues>
A structure containing arrays that map group names in the SAML assertion to the Grafana Admin
and Editor
roles in the workspace.
sourcepub fn allowed_organizations(self, input: impl Into<String>) -> Self
pub fn allowed_organizations(self, input: impl Into<String>) -> Self
Appends an item to allowed_organizations
.
To override the contents of this collection use set_allowed_organizations
.
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.
sourcepub fn set_allowed_organizations(self, input: Option<Vec<String>>) -> Self
pub fn set_allowed_organizations(self, input: Option<Vec<String>>) -> Self
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.
sourcepub fn get_allowed_organizations(&self) -> &Option<Vec<String>>
pub fn get_allowed_organizations(&self) -> &Option<Vec<String>>
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.
sourcepub fn login_validity_duration(self, input: i32) -> Self
pub fn login_validity_duration(self, input: i32) -> Self
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
sourcepub fn set_login_validity_duration(self, input: Option<i32>) -> Self
pub fn set_login_validity_duration(self, input: Option<i32>) -> Self
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
sourcepub fn get_login_validity_duration(&self) -> &Option<i32>
pub fn get_login_validity_duration(&self) -> &Option<i32>
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
sourcepub fn build(self) -> SamlConfiguration
pub fn build(self) -> SamlConfiguration
Consumes the builder and constructs a SamlConfiguration
.
Trait Implementations§
source§impl Clone for SamlConfigurationBuilder
impl Clone for SamlConfigurationBuilder
source§fn clone(&self) -> SamlConfigurationBuilder
fn clone(&self) -> SamlConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SamlConfigurationBuilder
impl Debug for SamlConfigurationBuilder
source§impl Default for SamlConfigurationBuilder
impl Default for SamlConfigurationBuilder
source§fn default() -> SamlConfigurationBuilder
fn default() -> SamlConfigurationBuilder
source§impl PartialEq for SamlConfigurationBuilder
impl PartialEq for SamlConfigurationBuilder
source§fn eq(&self, other: &SamlConfigurationBuilder) -> bool
fn eq(&self, other: &SamlConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SamlConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SamlConfigurationBuilder
impl RefUnwindSafe for SamlConfigurationBuilder
impl Send for SamlConfigurationBuilder
impl Sync for SamlConfigurationBuilder
impl Unpin for SamlConfigurationBuilder
impl UnwindSafe for SamlConfigurationBuilder
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