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 Details

    • create

      @Stability(Stable) public static CfnSecurityConfig.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSecurityConfig.Builder.
    • description

      @Stability(Stable) public CfnSecurityConfig.Builder description(String description)
      The description of the security configuration.

      Parameters:
      description - The description of the security configuration. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnSecurityConfig.Builder name(String name)
      The name of the security configuration.

      Parameters:
      name - The name of the security configuration. This parameter is required.
      Returns:
      this
    • 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
    • samlOptions

      @Stability(Stable) public CfnSecurityConfig.Builder samlOptions(IResolvable 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
    • type

      @Stability(Stable) public CfnSecurityConfig.Builder type(String 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
    • build

      @Stability(Stable) public CfnSecurityConfig build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSecurityConfig>
      Returns:
      a newly built instance of CfnSecurityConfig.