Class CfnSecurityConfig.IamFederationConfigOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfig.IamFederationConfigOptionsProperty>
- Enclosing interface:
CfnSecurityConfig.IamFederationConfigOptionsProperty
@Stability(Stable)
public static final class CfnSecurityConfig.IamFederationConfigOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfig.IamFederationConfigOptionsProperty>
A builder for
CfnSecurityConfig.IamFederationConfigOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.groupAttribute(String groupAttribute) Sets the value ofCfnSecurityConfig.IamFederationConfigOptionsProperty.getGroupAttribute()userAttribute(String userAttribute) Sets the value ofCfnSecurityConfig.IamFederationConfigOptionsProperty.getUserAttribute()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupAttribute
@Stability(Stable) public CfnSecurityConfig.IamFederationConfigOptionsProperty.Builder groupAttribute(String groupAttribute) Sets the value ofCfnSecurityConfig.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 CfnSecurityConfig.IamFederationConfigOptionsProperty.Builder userAttribute(String userAttribute) Sets the value ofCfnSecurityConfig.IamFederationConfigOptionsProperty.getUserAttribute()- 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<CfnSecurityConfig.IamFederationConfigOptionsProperty>- Returns:
- a new instance of
CfnSecurityConfig.IamFederationConfigOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-