Class CfnApplication.IamIdentityCenterOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnApplication.IamIdentityCenterOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.IamIdentityCenterOptionsProperty>
- Enclosing interface:
CfnApplication.IamIdentityCenterOptionsProperty
@Stability(Stable)
public static final class CfnApplication.IamIdentityCenterOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.IamIdentityCenterOptionsProperty>
A builder for
CfnApplication.IamIdentityCenterOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplication.IamIdentityCenterOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnApplication.IamIdentityCenterOptionsProperty.getEnabled()iamIdentityCenterInstanceArn(String iamIdentityCenterInstanceArn) iamRoleForIdentityCenterApplicationArn(String iamRoleForIdentityCenterApplicationArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnApplication.IamIdentityCenterOptionsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnApplication.IamIdentityCenterOptionsProperty.getEnabled()- Parameters:
enabled- Indicates whether IAM Identity Center is enabled for the OpenSearch application.- Returns:
this
-
enabled
@Stability(Stable) public CfnApplication.IamIdentityCenterOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnApplication.IamIdentityCenterOptionsProperty.getEnabled()- Parameters:
enabled- Indicates whether IAM Identity Center is enabled for the OpenSearch application.- Returns:
this
-
iamIdentityCenterInstanceArn
@Stability(Stable) public CfnApplication.IamIdentityCenterOptionsProperty.Builder iamIdentityCenterInstanceArn(String iamIdentityCenterInstanceArn) - Parameters:
iamIdentityCenterInstanceArn- Amazon Resource Name (ARN) format.- Returns:
this
-
iamRoleForIdentityCenterApplicationArn
@Stability(Stable) public CfnApplication.IamIdentityCenterOptionsProperty.Builder iamRoleForIdentityCenterApplicationArn(String iamRoleForIdentityCenterApplicationArn) Sets the value ofCfnApplication.IamIdentityCenterOptionsProperty.getIamRoleForIdentityCenterApplicationArn()- Parameters:
iamRoleForIdentityCenterApplicationArn- The Amazon Resource Name (ARN) of the IAM role assigned to the IAM Identity Center application for the OpenSearch application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.IamIdentityCenterOptionsProperty>- Returns:
- a new instance of
CfnApplication.IamIdentityCenterOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-