Class CfnQuickResponse.GroupingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnQuickResponse.GroupingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuickResponse.GroupingConfigurationProperty>
- Enclosing interface:
CfnQuickResponse.GroupingConfigurationProperty
@Stability(Stable)
public static final class CfnQuickResponse.GroupingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuickResponse.GroupingConfigurationProperty>
A builder for
CfnQuickResponse.GroupingConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnQuickResponse.GroupingConfigurationProperty.getCriteria()
Sets the value ofCfnQuickResponse.GroupingConfigurationProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
criteria
@Stability(Stable) public CfnQuickResponse.GroupingConfigurationProperty.Builder criteria(String criteria) Sets the value ofCfnQuickResponse.GroupingConfigurationProperty.getCriteria()
- Parameters:
criteria
- The criteria used for grouping Amazon Q in Connect users. This parameter is required. The following is the list of supported criteria values.RoutingProfileArn
: Grouping the users by their Amazon Connect routing profile ARN . User should have SearchRoutingProfile and DescribeRoutingProfile permissions when setting criteria to this value.
- Returns:
this
-
values
@Stability(Stable) public CfnQuickResponse.GroupingConfigurationProperty.Builder values(List<String> values) Sets the value ofCfnQuickResponse.GroupingConfigurationProperty.getValues()
- Parameters:
values
- The list of values that define different groups of Amazon Q in Connect users. This parameter is required.- When setting
criteria
toRoutingProfileArn
, you need to provide a list of ARNs of Amazon Connect routing profiles as values of this parameter.
- When setting
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnQuickResponse.GroupingConfigurationProperty>
- Returns:
- a new instance of
CfnQuickResponse.GroupingConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-