Class CfnSecurityConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfigProps>
- Enclosing interface:
CfnSecurityConfigProps
@Stability(Stable)
public static final class CfnSecurityConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfigProps>
A builder for
CfnSecurityConfigProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnSecurityConfigProps.getDescription()
iamIdentityCenterOptions
(IResolvable iamIdentityCenterOptions) Sets the value ofCfnSecurityConfigProps.getIamIdentityCenterOptions()
iamIdentityCenterOptions
(CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty iamIdentityCenterOptions) Sets the value ofCfnSecurityConfigProps.getIamIdentityCenterOptions()
Sets the value ofCfnSecurityConfigProps.getName()
samlOptions
(IResolvable samlOptions) Sets the value ofCfnSecurityConfigProps.getSamlOptions()
samlOptions
(CfnSecurityConfig.SamlConfigOptionsProperty samlOptions) Sets the value ofCfnSecurityConfigProps.getSamlOptions()
Sets the value ofCfnSecurityConfigProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSecurityConfigProps.getDescription()
- Parameters:
description
- The description of the security configuration.- Returns:
this
-
iamIdentityCenterOptions
@Stability(Stable) public CfnSecurityConfigProps.Builder iamIdentityCenterOptions(IResolvable iamIdentityCenterOptions) Sets the value ofCfnSecurityConfigProps.getIamIdentityCenterOptions()
- Parameters:
iamIdentityCenterOptions
- Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.- Returns:
this
-
iamIdentityCenterOptions
@Stability(Stable) public CfnSecurityConfigProps.Builder iamIdentityCenterOptions(CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty iamIdentityCenterOptions) Sets the value ofCfnSecurityConfigProps.getIamIdentityCenterOptions()
- Parameters:
iamIdentityCenterOptions
- Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.- Returns:
this
-
name
Sets the value ofCfnSecurityConfigProps.getName()
- Parameters:
name
- The name of the security configuration.- Returns:
this
-
samlOptions
Sets the value ofCfnSecurityConfigProps.getSamlOptions()
- Parameters:
samlOptions
- SAML options for the security configuration in the form of a key-value map.- Returns:
this
-
samlOptions
@Stability(Stable) public CfnSecurityConfigProps.Builder samlOptions(CfnSecurityConfig.SamlConfigOptionsProperty samlOptions) Sets the value ofCfnSecurityConfigProps.getSamlOptions()
- Parameters:
samlOptions
- SAML options for the security configuration in the form of a key-value map.- Returns:
this
-
type
Sets the value ofCfnSecurityConfigProps.getType()
- Parameters:
type
- The type of security configuration. Currently the only option issaml
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityConfigProps>
- Returns:
- a new instance of
CfnSecurityConfigProps
- Throws:
NullPointerException
- if any required attribute was not provided
-