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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSecurityConfigProps.getDescription()iamFederationOptions(IResolvable iamFederationOptions) Sets the value ofCfnSecurityConfigProps.getIamFederationOptions()iamFederationOptions(CfnSecurityConfig.IamFederationConfigOptionsProperty iamFederationOptions) Sets the value ofCfnSecurityConfigProps.getIamFederationOptions()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
-
iamFederationOptions
@Stability(Stable) public CfnSecurityConfigProps.Builder iamFederationOptions(IResolvable iamFederationOptions) Sets the value ofCfnSecurityConfigProps.getIamFederationOptions()- Parameters:
iamFederationOptions- Describes IAM federation options in the form of a key-value map. Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation.- Returns:
this
-
iamFederationOptions
@Stability(Stable) public CfnSecurityConfigProps.Builder iamFederationOptions(CfnSecurityConfig.IamFederationConfigOptionsProperty iamFederationOptions) Sets the value ofCfnSecurityConfigProps.getIamFederationOptions()- Parameters:
iamFederationOptions- Describes IAM federation options in the form of a key-value map. Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation.- Returns:
this
-
iamIdentityCenterOptions
@Stability(Stable) public CfnSecurityConfigProps.Builder iamIdentityCenterOptions(IResolvable iamIdentityCenterOptions) Sets the value ofCfnSecurityConfigProps.getIamIdentityCenterOptions()- Parameters:
iamIdentityCenterOptions- Describes IAM Identity Center options 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 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityConfigProps>- Returns:
- a new instance of
CfnSecurityConfigProps - Throws:
NullPointerException- if any required attribute was not provided
-