Class CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty>
- Enclosing interface:
CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty
@Stability(Stable)
public static final class CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.groupAttribute(String groupAttribute) userAttribute(String userAttribute)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupAttribute
@Stability(Stable) public CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty.Builder groupAttribute(String groupAttribute) Sets the value ofCfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty.getGroupAttribute()- Parameters:
groupAttribute- The group attribute for this IAM federation integration. This attribute is used to map identity provider groups to OpenSearch Serverless permissions.- Returns:
this
-
userAttribute
@Stability(Stable) public CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty.Builder userAttribute(String userAttribute) - Parameters:
userAttribute- The user attribute for this IAM federation integration. This attribute is used to identify users in the federated authentication process.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty>- Returns:
- a new instance of
CfnSecurityConfigPropsMixin.IamFederationConfigOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-