Interface SAMLOptionsInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SAMLOptionsInput.Builder,
,SAMLOptionsInput> SdkBuilder<SAMLOptionsInput.Builder,
,SAMLOptionsInput> SdkPojo
- Enclosing class:
SAMLOptionsInput
public static interface SAMLOptionsInput.Builder
extends SdkPojo, CopyableBuilder<SAMLOptionsInput.Builder,SAMLOptionsInput>
-
Method Summary
Modifier and TypeMethodDescriptionTrue to enable SAML authentication for a domain.default SAMLOptionsInput.Builder
idp
(Consumer<SAMLIdp.Builder> idp) The SAML Identity Provider's information.The SAML Identity Provider's information.masterBackendRole
(String masterBackendRole) The backend role that the SAML master user is mapped to.masterUserName
(String masterUserName) The SAML master user name, which is stored in the domain's internal user database.Element of the SAML assertion to use for backend roles.sessionTimeoutMinutes
(Integer sessionTimeoutMinutes) The duration, in minutes, after which a user session becomes inactive.subjectKey
(String subjectKey) Element of the SAML assertion to use for the user name.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, sdkFields
-
Method Details
-
enabled
True to enable SAML authentication for a domain.
- Parameters:
enabled
- True to enable SAML authentication for a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idp
The SAML Identity Provider's information.
- Parameters:
idp
- The SAML Identity Provider's information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idp
The SAML Identity Provider's information.
This is a convenience method that creates an instance of theSAMLIdp.Builder
avoiding the need to create one manually viaSAMLIdp.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidp(SAMLIdp)
.- Parameters:
idp
- a consumer that will call methods onSAMLIdp.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
masterUserName
The SAML master user name, which is stored in the domain's internal user database.
- Parameters:
masterUserName
- The SAML master user name, which is stored in the domain's internal user database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterBackendRole
The backend role that the SAML master user is mapped to.
- Parameters:
masterBackendRole
- The backend role that the SAML master user is mapped to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectKey
Element of the SAML assertion to use for the user name. Default is
NameID
.- Parameters:
subjectKey
- Element of the SAML assertion to use for the user name. Default isNameID
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rolesKey
Element of the SAML assertion to use for backend roles. Default is
roles
.- Parameters:
rolesKey
- Element of the SAML assertion to use for backend roles. Default isroles
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionTimeoutMinutes
The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
- Parameters:
sessionTimeoutMinutes
- The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-