Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnApplicationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationProps>
- Enclosing interface:
CfnApplicationProps
@Stability(Stable)
public static final class CfnApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationProps>
A builder for
CfnApplicationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentsConfiguration(IResolvable attachmentsConfiguration) Sets the value ofCfnApplicationProps.getAttachmentsConfiguration()attachmentsConfiguration(CfnApplication.AttachmentsConfigurationProperty attachmentsConfiguration) Sets the value ofCfnApplicationProps.getAttachmentsConfiguration()build()Builds the configured instance.description(String description) Sets the value ofCfnApplicationProps.getDescription()displayName(String displayName) Sets the value ofCfnApplicationProps.getDisplayName()encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnApplicationProps.getEncryptionConfiguration()encryptionConfiguration(CfnApplication.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnApplicationProps.getEncryptionConfiguration()identityCenterInstanceArn(String identityCenterInstanceArn) Sets the value ofCfnApplicationProps.getIdentityCenterInstanceArn()qAppsConfiguration(IResolvable qAppsConfiguration) Sets the value ofCfnApplicationProps.getQAppsConfiguration()qAppsConfiguration(CfnApplication.QAppsConfigurationProperty qAppsConfiguration) Sets the value ofCfnApplicationProps.getQAppsConfiguration()Sets the value ofCfnApplicationProps.getRoleArn()Sets the value ofCfnApplicationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnApplicationProps.getDisplayName()- Parameters:
displayName- The name of the Amazon Q Business application. This parameter is required.- Returns:
this
-
attachmentsConfiguration
@Stability(Stable) public CfnApplicationProps.Builder attachmentsConfiguration(IResolvable attachmentsConfiguration) Sets the value ofCfnApplicationProps.getAttachmentsConfiguration()- Parameters:
attachmentsConfiguration- Configuration information for the file upload during chat feature.- Returns:
this
-
attachmentsConfiguration
@Stability(Stable) public CfnApplicationProps.Builder attachmentsConfiguration(CfnApplication.AttachmentsConfigurationProperty attachmentsConfiguration) Sets the value ofCfnApplicationProps.getAttachmentsConfiguration()- Parameters:
attachmentsConfiguration- Configuration information for the file upload during chat feature.- Returns:
this
-
description
Sets the value ofCfnApplicationProps.getDescription()- Parameters:
description- A description for the Amazon Q Business application.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnApplicationProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnApplicationProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. Amazon Q Business doesn't support asymmetric keys.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnApplicationProps.Builder encryptionConfiguration(CfnApplication.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnApplicationProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. Amazon Q Business doesn't support asymmetric keys.- Returns:
this
-
identityCenterInstanceArn
@Stability(Stable) public CfnApplicationProps.Builder identityCenterInstanceArn(String identityCenterInstanceArn) Sets the value ofCfnApplicationProps.getIdentityCenterInstanceArn()- Parameters:
identityCenterInstanceArn- The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application. Required :Yes- Returns:
this
-
qAppsConfiguration
@Stability(Stable) public CfnApplicationProps.Builder qAppsConfiguration(IResolvable qAppsConfiguration) Sets the value ofCfnApplicationProps.getQAppsConfiguration()- Parameters:
qAppsConfiguration- Configuration information about Amazon Q Apps. (preview feature)- Returns:
this
-
qAppsConfiguration
@Stability(Stable) public CfnApplicationProps.Builder qAppsConfiguration(CfnApplication.QAppsConfigurationProperty qAppsConfiguration) Sets the value ofCfnApplicationProps.getQAppsConfiguration()- Parameters:
qAppsConfiguration- Configuration information about Amazon Q Apps. (preview feature)- Returns:
this
-
roleArn
Sets the value ofCfnApplicationProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()- Parameters:
tags- A list of key-value pairs that identify or categorize your Amazon Q Business application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>- Returns:
- a new instance of
CfnApplicationProps - Throws:
NullPointerException- if any required attribute was not provided
-