Class CfnDomain.IdentityCenterOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.IdentityCenterOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.IdentityCenterOptionsProperty>
- Enclosing interface:
CfnDomain.IdentityCenterOptionsProperty
@Stability(Stable)
public static final class CfnDomain.IdentityCenterOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.IdentityCenterOptionsProperty>
A builder for
CfnDomain.IdentityCenterOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabledApiAccess(Boolean enabledApiAccess) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getEnabledApiAccess()enabledApiAccess(IResolvable enabledApiAccess) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getEnabledApiAccess()identityCenterApplicationArn(String identityCenterApplicationArn) identityCenterInstanceArn(String identityCenterInstanceArn) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getIdentityCenterInstanceArn()identityStoreId(String identityStoreId) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getIdentityStoreId()Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getRolesKey()subjectKey(String subjectKey) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getSubjectKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabledApiAccess
@Stability(Stable) public CfnDomain.IdentityCenterOptionsProperty.Builder enabledApiAccess(Boolean enabledApiAccess) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getEnabledApiAccess()- Parameters:
enabledApiAccess- Indicates whether IAM Identity Center is enabled for the application.- Returns:
this
-
enabledApiAccess
@Stability(Stable) public CfnDomain.IdentityCenterOptionsProperty.Builder enabledApiAccess(IResolvable enabledApiAccess) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getEnabledApiAccess()- Parameters:
enabledApiAccess- Indicates whether IAM Identity Center is enabled for the application.- Returns:
this
-
identityCenterApplicationArn
@Stability(Stable) public CfnDomain.IdentityCenterOptionsProperty.Builder identityCenterApplicationArn(String identityCenterApplicationArn) - Parameters:
identityCenterApplicationArn- The ARN of the IAM Identity Center application that integrates with Amazon OpenSearch Service.- Returns:
this
-
identityCenterInstanceArn
@Stability(Stable) public CfnDomain.IdentityCenterOptionsProperty.Builder identityCenterInstanceArn(String identityCenterInstanceArn) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getIdentityCenterInstanceArn()- Parameters:
identityCenterInstanceArn- The Amazon Resource Name (ARN) of the IAM Identity Center instance.- Returns:
this
-
identityStoreId
@Stability(Stable) public CfnDomain.IdentityCenterOptionsProperty.Builder identityStoreId(String identityStoreId) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getIdentityStoreId()- Parameters:
identityStoreId- The identifier of the IAM Identity Store.- Returns:
this
-
rolesKey
Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getRolesKey()- Parameters:
rolesKey- Specifies the attribute that contains the backend role identifier (such as group name or group ID) in IAM Identity Center.- Returns:
this
-
subjectKey
@Stability(Stable) public CfnDomain.IdentityCenterOptionsProperty.Builder subjectKey(String subjectKey) Sets the value ofCfnDomain.IdentityCenterOptionsProperty.getSubjectKey()- Parameters:
subjectKey- Specifies the attribute that contains the subject identifier (such as username, user ID, or email) in IAM Identity Center.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.IdentityCenterOptionsProperty>- Returns:
- a new instance of
CfnDomain.IdentityCenterOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-