Interface SamlConfiguration.Builder

    • Method Detail

      • allowedOrganizations

        SamlConfiguration.Builder allowedOrganizations​(Collection<String> allowedOrganizations)

        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.

        Parameters:
        allowedOrganizations - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedOrganizations

        SamlConfiguration.Builder allowedOrganizations​(String... allowedOrganizations)

        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.

        Parameters:
        allowedOrganizations - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assertionAttributes

        SamlConfiguration.Builder assertionAttributes​(AssertionAttributes 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idpMetadata

        SamlConfiguration.Builder idpMetadata​(IdpMetadata idpMetadata)

        A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.

        Parameters:
        idpMetadata - A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • loginValidityDuration

        SamlConfiguration.Builder loginValidityDuration​(Integer loginValidityDuration)

        How long a sign-on session by a SAML user is valid, before the user has to sign on again.

        Parameters:
        loginValidityDuration - How long a sign-on session by a SAML user is valid, before the user has to sign on again.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleValues

        SamlConfiguration.Builder roleValues​(RoleValues roleValues)

        A structure containing arrays that map group names in the SAML assertion to the Grafana Admin and Editor roles in the workspace.

        Parameters:
        roleValues - A structure containing arrays that map group names in the SAML assertion to the Grafana Admin and Editor roles in the workspace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.