Class CfnDataSourcePropsMixin.OneDriveUsersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.OneDriveUsersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.OneDriveUsersProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.OneDriveUsersProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.OneDriveUsersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.OneDriveUsersProperty>
A builder for
CfnDataSourcePropsMixin.OneDriveUsersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.oneDriveUserList(List<String> oneDriveUserList) Sets the value ofCfnDataSourcePropsMixin.OneDriveUsersProperty.getOneDriveUserList()oneDriveUserS3Path(CfnDataSourcePropsMixin.S3PathProperty oneDriveUserS3Path) Sets the value ofCfnDataSourcePropsMixin.OneDriveUsersProperty.getOneDriveUserS3Path()oneDriveUserS3Path(IResolvable oneDriveUserS3Path) Sets the value ofCfnDataSourcePropsMixin.OneDriveUsersProperty.getOneDriveUserS3Path()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
oneDriveUserList
@Stability(Stable) public CfnDataSourcePropsMixin.OneDriveUsersProperty.Builder oneDriveUserList(List<String> oneDriveUserList) Sets the value ofCfnDataSourcePropsMixin.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 theOneDriveUserS3Pathfield to specify the location of a file containing a list of users.- Returns:
this
-
oneDriveUserS3Path
@Stability(Stable) public CfnDataSourcePropsMixin.OneDriveUsersProperty.Builder oneDriveUserS3Path(IResolvable oneDriveUserS3Path) Sets the value ofCfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.OneDriveUsersProperty.Builder oneDriveUserS3Path(CfnDataSourcePropsMixin.S3PathProperty oneDriveUserS3Path) Sets the value ofCfnDataSourcePropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.OneDriveUsersProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.OneDriveUsersProperty - Throws:
NullPointerException- if any required attribute was not provided
-