Class CfnWebExperienceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnWebExperienceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebExperienceMixinProps>
- Enclosing interface:
CfnWebExperienceMixinProps
@Stability(Stable)
public static final class CfnWebExperienceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebExperienceMixinProps>
A builder for
CfnWebExperienceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnWebExperienceMixinProps.getApplicationId()browserExtensionConfiguration(CfnWebExperiencePropsMixin.BrowserExtensionConfigurationProperty browserExtensionConfiguration) Sets the value ofCfnWebExperienceMixinProps.getBrowserExtensionConfiguration()browserExtensionConfiguration(IResolvable browserExtensionConfiguration) Sets the value ofCfnWebExperienceMixinProps.getBrowserExtensionConfiguration()build()Builds the configured instance.customizationConfiguration(CfnWebExperiencePropsMixin.CustomizationConfigurationProperty customizationConfiguration) Sets the value ofCfnWebExperienceMixinProps.getCustomizationConfiguration()customizationConfiguration(IResolvable customizationConfiguration) Sets the value ofCfnWebExperienceMixinProps.getCustomizationConfiguration()identityProviderConfiguration(CfnWebExperiencePropsMixin.IdentityProviderConfigurationProperty identityProviderConfiguration) Sets the value ofCfnWebExperienceMixinProps.getIdentityProviderConfiguration()identityProviderConfiguration(IResolvable identityProviderConfiguration) Sets the value ofCfnWebExperienceMixinProps.getIdentityProviderConfiguration()Sets the value ofCfnWebExperienceMixinProps.getOrigins()Sets the value ofCfnWebExperienceMixinProps.getRoleArn()samplePromptsControlMode(String samplePromptsControlMode) Sets the value ofCfnWebExperienceMixinProps.getSamplePromptsControlMode()Sets the value ofCfnWebExperienceMixinProps.getSubtitle()Sets the value ofCfnWebExperienceMixinProps.getTags()Sets the value ofCfnWebExperienceMixinProps.getTitle()welcomeMessage(String welcomeMessage) Sets the value ofCfnWebExperienceMixinProps.getWelcomeMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnWebExperienceMixinProps.getApplicationId()- Parameters:
applicationId- The identifier of the Amazon Q Business web experience.- Returns:
this
-
browserExtensionConfiguration
@Stability(Stable) public CfnWebExperienceMixinProps.Builder browserExtensionConfiguration(IResolvable browserExtensionConfiguration) Sets the value ofCfnWebExperienceMixinProps.getBrowserExtensionConfiguration()- Parameters:
browserExtensionConfiguration- The container for browser extension configuration for an Amazon Q Business web experience.- Returns:
this
-
browserExtensionConfiguration
@Stability(Stable) public CfnWebExperienceMixinProps.Builder browserExtensionConfiguration(CfnWebExperiencePropsMixin.BrowserExtensionConfigurationProperty browserExtensionConfiguration) Sets the value ofCfnWebExperienceMixinProps.getBrowserExtensionConfiguration()- Parameters:
browserExtensionConfiguration- The container for browser extension configuration for an Amazon Q Business web experience.- Returns:
this
-
customizationConfiguration
@Stability(Stable) public CfnWebExperienceMixinProps.Builder customizationConfiguration(IResolvable customizationConfiguration) Sets the value ofCfnWebExperienceMixinProps.getCustomizationConfiguration()- Parameters:
customizationConfiguration- Contains the configuration information to customize the logo, font, and color of an Amazon Q Business web experience with individual files for each property or a CSS file for them all.- Returns:
this
-
customizationConfiguration
@Stability(Stable) public CfnWebExperienceMixinProps.Builder customizationConfiguration(CfnWebExperiencePropsMixin.CustomizationConfigurationProperty customizationConfiguration) Sets the value ofCfnWebExperienceMixinProps.getCustomizationConfiguration()- Parameters:
customizationConfiguration- Contains the configuration information to customize the logo, font, and color of an Amazon Q Business web experience with individual files for each property or a CSS file for them all.- Returns:
this
-
identityProviderConfiguration
@Stability(Stable) public CfnWebExperienceMixinProps.Builder identityProviderConfiguration(IResolvable identityProviderConfiguration) Sets the value ofCfnWebExperienceMixinProps.getIdentityProviderConfiguration()- Parameters:
identityProviderConfiguration- Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.- Returns:
this
-
identityProviderConfiguration
@Stability(Stable) public CfnWebExperienceMixinProps.Builder identityProviderConfiguration(CfnWebExperiencePropsMixin.IdentityProviderConfigurationProperty identityProviderConfiguration) Sets the value ofCfnWebExperienceMixinProps.getIdentityProviderConfiguration()- Parameters:
identityProviderConfiguration- Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.- Returns:
this
-
origins
Sets the value ofCfnWebExperienceMixinProps.getOrigins()- Parameters:
origins- Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol (http/https), the domain name, and the port number (if specified).You must only submit a base URL and not a full path. For example,
https://docs.aws.amazon.com.- Returns:
this
-
roleArn
Sets the value ofCfnWebExperienceMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the service role attached to your web experience.The
roleArnparameter is required when your Amazon Q Business application is created with IAM Identity Center. It is not required for SAML-based applications.- Returns:
this
-
samplePromptsControlMode
@Stability(Stable) public CfnWebExperienceMixinProps.Builder samplePromptsControlMode(String samplePromptsControlMode) Sets the value ofCfnWebExperienceMixinProps.getSamplePromptsControlMode()- Parameters:
samplePromptsControlMode- Determines whether sample prompts are enabled in the web experience for an end user.- Returns:
this
-
subtitle
Sets the value ofCfnWebExperienceMixinProps.getSubtitle()- Parameters:
subtitle- A subtitle to personalize your Amazon Q Business web experience.- Returns:
this
-
tags
Sets the value ofCfnWebExperienceMixinProps.getTags()- Parameters:
tags- A list of key-value pairs that identify or categorize your Amazon Q Business web experience. You can also use tags to help control access to the web experience. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -- Returns:
this
-
title
Sets the value ofCfnWebExperienceMixinProps.getTitle()- Parameters:
title- The title for your Amazon Q Business web experience.- Returns:
this
-
welcomeMessage
Sets the value ofCfnWebExperienceMixinProps.getWelcomeMessage()- Parameters:
welcomeMessage- A message in an Amazon Q Business web experience.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebExperienceMixinProps>- Returns:
- a new instance of
CfnWebExperienceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-