Class CfnDataSource.OneDriveUsersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.OneDriveUsersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.OneDriveUsersProperty>
- Enclosing interface:
CfnDataSource.OneDriveUsersProperty
@Stability(Stable)
public static final class CfnDataSource.OneDriveUsersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.OneDriveUsersProperty>
A builder for
CfnDataSource.OneDriveUsersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.oneDriveUserList
(List<String> oneDriveUserList) Sets the value ofCfnDataSource.OneDriveUsersProperty.getOneDriveUserList()
oneDriveUserS3Path
(IResolvable oneDriveUserS3Path) Sets the value ofCfnDataSource.OneDriveUsersProperty.getOneDriveUserS3Path()
oneDriveUserS3Path
(CfnDataSource.S3PathProperty oneDriveUserS3Path) Sets the value ofCfnDataSource.OneDriveUsersProperty.getOneDriveUserS3Path()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
oneDriveUserList
@Stability(Stable) public CfnDataSource.OneDriveUsersProperty.Builder oneDriveUserList(List<String> oneDriveUserList) Sets the value ofCfnDataSource.OneDriveUsersProperty.getOneDriveUserList()
- Parameters:
oneDriveUserList
- A list of users whose documents should be indexed. Specify the user names in email format, for example,username@tenantdomain
. If you need to index the documents of more than 10 users, use theOneDriveUserS3Path
field to specify the location of a file containing a list of users.- Returns:
this
-
oneDriveUserS3Path
@Stability(Stable) public CfnDataSource.OneDriveUsersProperty.Builder oneDriveUserS3Path(IResolvable oneDriveUserS3Path) Sets the value ofCfnDataSource.OneDriveUsersProperty.getOneDriveUserS3Path()
- Parameters:
oneDriveUserS3Path
- The S3 bucket location of a file containing a list of users whose documents should be indexed.- Returns:
this
-
oneDriveUserS3Path
@Stability(Stable) public CfnDataSource.OneDriveUsersProperty.Builder oneDriveUserS3Path(CfnDataSource.S3PathProperty oneDriveUserS3Path) Sets the value ofCfnDataSource.OneDriveUsersProperty.getOneDriveUserS3Path()
- Parameters:
oneDriveUserS3Path
- The S3 bucket location of a file containing a list of users whose documents should be indexed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.OneDriveUsersProperty>
- Returns:
- a new instance of
CfnDataSource.OneDriveUsersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-