Class CfnSecurityConfig.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfig>
- Enclosing class:
CfnSecurityConfig
@Stability(Stable)
public static final class CfnSecurityConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfig>
A fluent builder for
CfnSecurityConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSecurityConfig.Builder
description
(String description) The description of the security configuration.The name of the security configuration.samlOptions
(IResolvable samlOptions) SAML options for the security configuration in the form of a key-value map.samlOptions
(CfnSecurityConfig.SamlConfigOptionsProperty samlOptions) SAML options for the security configuration in the form of a key-value map.The type of security configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnSecurityConfig.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSecurityConfig.Builder
.
-
description
The description of the security configuration.- Parameters:
description
- The description of the security configuration. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the security configuration.- Parameters:
name
- The name of the security configuration. This parameter is required.- Returns:
this
- See Also:
-
samlOptions
SAML options for the security configuration in the form of a key-value map.- Parameters:
samlOptions
- SAML options for the security configuration in the form of a key-value map. This parameter is required.- Returns:
this
- See Also:
-
samlOptions
@Stability(Stable) public CfnSecurityConfig.Builder samlOptions(CfnSecurityConfig.SamlConfigOptionsProperty samlOptions) SAML options for the security configuration in the form of a key-value map.- Parameters:
samlOptions
- SAML options for the security configuration in the form of a key-value map. This parameter is required.- Returns:
this
- See Also:
-
type
The type of security configuration.Currently the only option is
saml
.- Parameters:
type
- The type of security configuration. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityConfig>
- Returns:
- a newly built instance of
CfnSecurityConfig
.
-