Interface SamlConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SamlConfiguration.Builder,
,SamlConfiguration> SdkBuilder<SamlConfiguration.Builder,
,SamlConfiguration> SdkPojo
- Enclosing class:
SamlConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionallowedOrganizations
(String... allowedOrganizations) Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace.allowedOrganizations
(Collection<String> allowedOrganizations) Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace.default SamlConfiguration.Builder
assertionAttributes
(Consumer<AssertionAttributes.Builder> 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.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.default SamlConfiguration.Builder
idpMetadata
(Consumer<IdpMetadata.Builder> idpMetadata) A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.idpMetadata
(IdpMetadata idpMetadata) A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.loginValidityDuration
(Integer loginValidityDuration) How long a sign-on session by a SAML user is valid, before the user has to sign on again.default SamlConfiguration.Builder
roleValues
(Consumer<RoleValues.Builder> roleValues) A structure containing arrays that map group names in the SAML assertion to the GrafanaAdmin
andEditor
roles in the workspace.roleValues
(RoleValues roleValues) A structure containing arrays that map group names in the SAML assertion to the GrafanaAdmin
andEditor
roles in the workspace.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.
-
assertionAttributes
default SamlConfiguration.Builder assertionAttributes(Consumer<AssertionAttributes.Builder> 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.
This is a convenience method that creates an instance of theAssertionAttributes.Builder
avoiding the need to create one manually viaAssertionAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassertionAttributes(AssertionAttributes)
.- Parameters:
assertionAttributes
- a consumer that will call methods onAssertionAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
idpMetadata
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
This is a convenience method that creates an instance of theIdpMetadata.Builder
avoiding the need to create one manually viaIdpMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidpMetadata(IdpMetadata)
.- Parameters:
idpMetadata
- a consumer that will call methods onIdpMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
A structure containing arrays that map group names in the SAML assertion to the Grafana
Admin
andEditor
roles in the workspace.- Parameters:
roleValues
- A structure containing arrays that map group names in the SAML assertion to the GrafanaAdmin
andEditor
roles in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleValues
A structure containing arrays that map group names in the SAML assertion to the Grafana
This is a convenience method that creates an instance of theAdmin
andEditor
roles in the workspace.RoleValues.Builder
avoiding the need to create one manually viaRoleValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroleValues(RoleValues)
.- Parameters:
roleValues
- a consumer that will call methods onRoleValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-