Class CfnSecurityConfig.SamlConfigOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig.SamlConfigOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfig.SamlConfigOptionsProperty>
- Enclosing interface:
- CfnSecurityConfig.SamlConfigOptionsProperty
@Stability(Stable)
public static final class CfnSecurityConfig.SamlConfigOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfig.SamlConfigOptionsProperty>
A builder for
CfnSecurityConfig.SamlConfigOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.groupAttribute(String groupAttribute) Sets the value ofCfnSecurityConfig.SamlConfigOptionsProperty.getGroupAttribute()Sets the value ofCfnSecurityConfig.SamlConfigOptionsProperty.getMetadata()sessionTimeout(Number sessionTimeout) Sets the value ofCfnSecurityConfig.SamlConfigOptionsProperty.getSessionTimeout()userAttribute(String userAttribute) Sets the value ofCfnSecurityConfig.SamlConfigOptionsProperty.getUserAttribute()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metadata
@Stability(Stable) public CfnSecurityConfig.SamlConfigOptionsProperty.Builder metadata(String metadata) Sets the value ofCfnSecurityConfig.SamlConfigOptionsProperty.getMetadata()- Parameters:
metadata- The XML IdP metadata file generated from your identity provider. This parameter is required.- Returns:
this
-
groupAttribute
@Stability(Stable) public CfnSecurityConfig.SamlConfigOptionsProperty.Builder groupAttribute(String groupAttribute) Sets the value ofCfnSecurityConfig.SamlConfigOptionsProperty.getGroupAttribute()- Parameters:
groupAttribute- The group attribute for this SAML integration.- Returns:
this
-
sessionTimeout
@Stability(Stable) public CfnSecurityConfig.SamlConfigOptionsProperty.Builder sessionTimeout(Number sessionTimeout) Sets the value ofCfnSecurityConfig.SamlConfigOptionsProperty.getSessionTimeout()- Parameters:
sessionTimeout- The session timeout, in minutes. Default is 60 minutes (12 hours).- Returns:
this
-
userAttribute
@Stability(Stable) public CfnSecurityConfig.SamlConfigOptionsProperty.Builder userAttribute(String userAttribute) Sets the value ofCfnSecurityConfig.SamlConfigOptionsProperty.getUserAttribute()- Parameters:
userAttribute- A user attribute for this SAML integration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityConfig.SamlConfigOptionsProperty>- Returns:
- a new instance of
CfnSecurityConfig.SamlConfigOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-