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()
autoSubscriptionConfiguration
(IResolvable autoSubscriptionConfiguration) Sets the value ofCfnApplicationProps.getAutoSubscriptionConfiguration()
autoSubscriptionConfiguration
(CfnApplication.AutoSubscriptionConfigurationProperty autoSubscriptionConfiguration) Sets the value ofCfnApplicationProps.getAutoSubscriptionConfiguration()
build()
Builds the configured instance.clientIdsForOidc
(List<String> clientIdsForOidc) Sets the value ofCfnApplicationProps.getClientIdsForOidc()
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()
iamIdentityProviderArn
(String iamIdentityProviderArn) Sets the value ofCfnApplicationProps.getIamIdentityProviderArn()
identityCenterInstanceArn
(String identityCenterInstanceArn) Sets the value ofCfnApplicationProps.getIdentityCenterInstanceArn()
identityType
(String identityType) Sets the value ofCfnApplicationProps.getIdentityType()
personalizationConfiguration
(IResolvable personalizationConfiguration) Sets the value ofCfnApplicationProps.getPersonalizationConfiguration()
personalizationConfiguration
(CfnApplication.PersonalizationConfigurationProperty personalizationConfiguration) Sets the value ofCfnApplicationProps.getPersonalizationConfiguration()
qAppsConfiguration
(IResolvable qAppsConfiguration) Sets the value ofCfnApplicationProps.getQAppsConfiguration()
qAppsConfiguration
(CfnApplication.QAppsConfigurationProperty qAppsConfiguration) Sets the value ofCfnApplicationProps.getQAppsConfiguration()
quickSightConfiguration
(IResolvable quickSightConfiguration) Sets the value ofCfnApplicationProps.getQuickSightConfiguration()
quickSightConfiguration
(CfnApplication.QuickSightConfigurationProperty quickSightConfiguration) Sets the value ofCfnApplicationProps.getQuickSightConfiguration()
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
-
autoSubscriptionConfiguration
@Stability(Stable) public CfnApplicationProps.Builder autoSubscriptionConfiguration(IResolvable autoSubscriptionConfiguration) Sets the value ofCfnApplicationProps.getAutoSubscriptionConfiguration()
- Parameters:
autoSubscriptionConfiguration
- Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.- Returns:
this
-
autoSubscriptionConfiguration
@Stability(Stable) public CfnApplicationProps.Builder autoSubscriptionConfiguration(CfnApplication.AutoSubscriptionConfigurationProperty autoSubscriptionConfiguration) Sets the value ofCfnApplicationProps.getAutoSubscriptionConfiguration()
- Parameters:
autoSubscriptionConfiguration
- Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.- Returns:
this
-
clientIdsForOidc
@Stability(Stable) public CfnApplicationProps.Builder clientIdsForOidc(List<String> clientIdsForOidc) Sets the value ofCfnApplicationProps.getClientIdsForOidc()
- Parameters:
clientIdsForOidc
- The OIDC client ID for a Amazon Q Business application.- 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
-
iamIdentityProviderArn
@Stability(Stable) public CfnApplicationProps.Builder iamIdentityProviderArn(String iamIdentityProviderArn) Sets the value ofCfnApplicationProps.getIamIdentityProviderArn()
- Parameters:
iamIdentityProviderArn
- The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.- 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
-
identityType
Sets the value ofCfnApplicationProps.getIdentityType()
- Parameters:
identityType
- The authentication type being used by a Amazon Q Business application.- Returns:
this
-
personalizationConfiguration
@Stability(Stable) public CfnApplicationProps.Builder personalizationConfiguration(IResolvable personalizationConfiguration) Sets the value ofCfnApplicationProps.getPersonalizationConfiguration()
- Parameters:
personalizationConfiguration
- Configuration information about chat response personalization. For more information, see Personalizing chat responses .- Returns:
this
-
personalizationConfiguration
@Stability(Stable) public CfnApplicationProps.Builder personalizationConfiguration(CfnApplication.PersonalizationConfigurationProperty personalizationConfiguration) Sets the value ofCfnApplicationProps.getPersonalizationConfiguration()
- Parameters:
personalizationConfiguration
- Configuration information about chat response personalization. For more information, see Personalizing chat responses .- Returns:
this
-
qAppsConfiguration
@Stability(Stable) public CfnApplicationProps.Builder qAppsConfiguration(IResolvable qAppsConfiguration) Sets the value ofCfnApplicationProps.getQAppsConfiguration()
- Parameters:
qAppsConfiguration
- Configuration information about Amazon Q Apps.- 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.- Returns:
this
-
quickSightConfiguration
@Stability(Stable) public CfnApplicationProps.Builder quickSightConfiguration(IResolvable quickSightConfiguration) Sets the value ofCfnApplicationProps.getQuickSightConfiguration()
- Parameters:
quickSightConfiguration
- The Amazon QuickSight configuration for an Amazon Q Business application that uses QuickSight as the identity provider.- Returns:
this
-
quickSightConfiguration
@Stability(Stable) public CfnApplicationProps.Builder quickSightConfiguration(CfnApplication.QuickSightConfigurationProperty quickSightConfiguration) Sets the value ofCfnApplicationProps.getQuickSightConfiguration()
- Parameters:
quickSightConfiguration
- The Amazon QuickSight configuration for an Amazon Q Business application that uses QuickSight as the identity provider.- 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. If this property is not specified, Amazon Q Business will create a service linked role (SLR) and use it as the application's role.- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>
- Returns:
- a new instance of
CfnApplicationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-