Class CfnDataSource.AclConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.AclConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.AclConfigurationProperty>
- Enclosing interface:
CfnDataSource.AclConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.AclConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.AclConfigurationProperty>
A builder for
CfnDataSource.AclConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowedGroupsColumnName
(String allowedGroupsColumnName) Sets the value ofCfnDataSource.AclConfigurationProperty.getAllowedGroupsColumnName()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedGroupsColumnName
@Stability(Stable) public CfnDataSource.AclConfigurationProperty.Builder allowedGroupsColumnName(String allowedGroupsColumnName) Sets the value ofCfnDataSource.AclConfigurationProperty.getAllowedGroupsColumnName()
- Parameters:
allowedGroupsColumnName
- A list of groups, separated by semi-colons, that filters a query response based on user context. This parameter is required. The document is only returned to users that are in one of the groups specified in theUserContext
field of the Query operation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.AclConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.AclConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-