Package com.oracle.bmc.opensearch.model
Class SecuritySamlConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.opensearch.model.SecuritySamlConfig.Builder
-
- Enclosing class:
- SecuritySamlConfig
public static class SecuritySamlConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecuritySamlConfig.BuilderadminBackendRole(String adminBackendRole)The backend role of admins who have all permissions like local master userSecuritySamlConfigbuild()SecuritySamlConfig.Buildercopy(SecuritySamlConfig model)SecuritySamlConfig.BuilderidpEntityId(String idpEntityId)The unique name for a identity provider entitySecuritySamlConfig.BuilderidpMetadataContent(String idpMetadataContent)The content of identity provider metadataSecuritySamlConfig.BuilderisEnabled(Boolean isEnabled)A flag determine whether SAML is enabledSecuritySamlConfig.BuilderopendashboardUrl(String opendashboardUrl)The endpoint of opendashboardSecuritySamlConfig.BuilderrolesKey(String rolesKey)The roles key is sued to get backend roles from SAML assertionSecuritySamlConfig.BuildersubjectKey(String subjectKey)The subject key is used to get username from SAML assertion.
-
-
-
Method Detail
-
isEnabled
public SecuritySamlConfig.Builder isEnabled(Boolean isEnabled)
A flag determine whether SAML is enabled- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
idpMetadataContent
public SecuritySamlConfig.Builder idpMetadataContent(String idpMetadataContent)
The content of identity provider metadata- Parameters:
idpMetadataContent- the value to set- Returns:
- this builder
-
idpEntityId
public SecuritySamlConfig.Builder idpEntityId(String idpEntityId)
The unique name for a identity provider entity- Parameters:
idpEntityId- the value to set- Returns:
- this builder
-
opendashboardUrl
public SecuritySamlConfig.Builder opendashboardUrl(String opendashboardUrl)
The endpoint of opendashboard- Parameters:
opendashboardUrl- the value to set- Returns:
- this builder
-
adminBackendRole
public SecuritySamlConfig.Builder adminBackendRole(String adminBackendRole)
The backend role of admins who have all permissions like local master user- Parameters:
adminBackendRole- the value to set- Returns:
- this builder
-
subjectKey
public SecuritySamlConfig.Builder subjectKey(String subjectKey)
The subject key is used to get username from SAML assertion.By default, it is NameID
- Parameters:
subjectKey- the value to set- Returns:
- this builder
-
rolesKey
public SecuritySamlConfig.Builder rolesKey(String rolesKey)
The roles key is sued to get backend roles from SAML assertion- Parameters:
rolesKey- the value to set- Returns:
- this builder
-
build
public SecuritySamlConfig build()
-
copy
public SecuritySamlConfig.Builder copy(SecuritySamlConfig model)
-
-