Struct aws_sdk_grafana::model::saml_configuration::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for SamlConfiguration
Implementations
sourceimpl Builder
impl Builder
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.
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 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 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 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 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 build(self) -> SamlConfiguration
pub fn build(self) -> SamlConfiguration
Consumes the builder and constructs a SamlConfiguration
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> 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