public static interface BoxConfiguration.Builder extends SdkPojo, CopyableBuilder<BoxConfiguration.Builder,BoxConfiguration>
| Modifier and Type | Method and Description |
|---|---|
BoxConfiguration.Builder |
commentFieldMappings(Collection<DataSourceToIndexFieldMapping> commentFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box
comments to Amazon Kendra index field names. |
BoxConfiguration.Builder |
commentFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... commentFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box
comments to Amazon Kendra index field names. |
BoxConfiguration.Builder |
commentFieldMappings(DataSourceToIndexFieldMapping... commentFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box
comments to Amazon Kendra index field names. |
BoxConfiguration.Builder |
crawlComments(Boolean crawlComments)
TRUE to index comments. |
BoxConfiguration.Builder |
crawlTasks(Boolean crawlTasks)
TRUE to index the contents of tasks. |
BoxConfiguration.Builder |
crawlWebLinks(Boolean crawlWebLinks)
TRUE to index web links. |
BoxConfiguration.Builder |
enterpriseId(String enterpriseId)
The identifier of the Box Enterprise platform.
|
BoxConfiguration.Builder |
exclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain files and folders from your Box platform.
|
BoxConfiguration.Builder |
exclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns to exclude certain files and folders from your Box platform.
|
BoxConfiguration.Builder |
fileFieldMappings(Collection<DataSourceToIndexFieldMapping> fileFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box files
to Amazon Kendra index field names. |
BoxConfiguration.Builder |
fileFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fileFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box files
to Amazon Kendra index field names. |
BoxConfiguration.Builder |
fileFieldMappings(DataSourceToIndexFieldMapping... fileFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box files
to Amazon Kendra index field names. |
BoxConfiguration.Builder |
inclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain files and folders in your Box platform.
|
BoxConfiguration.Builder |
inclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns to include certain files and folders in your Box platform.
|
BoxConfiguration.Builder |
secretArn(String secretArn)
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to
connect to your Box platform.
|
BoxConfiguration.Builder |
taskFieldMappings(Collection<DataSourceToIndexFieldMapping> taskFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box tasks
to Amazon Kendra index field names. |
BoxConfiguration.Builder |
taskFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... taskFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box tasks
to Amazon Kendra index field names. |
BoxConfiguration.Builder |
taskFieldMappings(DataSourceToIndexFieldMapping... taskFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box tasks
to Amazon Kendra index field names. |
BoxConfiguration.Builder |
useChangeLog(Boolean useChangeLog)
TRUE to use the Slack change log to determine which documents require updating in the index. |
default BoxConfiguration.Builder |
vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)
Configuration information for an Amazon VPC to connect to your Box.
|
BoxConfiguration.Builder |
vpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon VPC to connect to your Box.
|
BoxConfiguration.Builder |
webLinkFieldMappings(Collection<DataSourceToIndexFieldMapping> webLinkFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box web
links to Amazon Kendra index field names. |
BoxConfiguration.Builder |
webLinkFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... webLinkFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box web
links to Amazon Kendra index field names. |
BoxConfiguration.Builder |
webLinkFieldMappings(DataSourceToIndexFieldMapping... webLinkFieldMappings)
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Box web
links to Amazon Kendra index field names. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBoxConfiguration.Builder enterpriseId(String enterpriseId)
The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer Console settings or when you create an app in Box and download your authentication credentials. For example, 801234567.
enterpriseId - The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer
Console settings or when you create an app in Box and download your authentication credentials. For
example, 801234567.BoxConfiguration.Builder secretArn(String secretArn)
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys:
clientID—The identifier of the client OAuth 2.0 authentication application created in Box.
clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.
publicKeyId—The identifier of the public key contained within an identity certificate.
privateKey—A set of characters that make up an encryption key.
passphrase—A set of characters that act like a password.
You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.
secretArn - The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required
to connect to your Box platform. The secret must contain a JSON structure with the following keys:
clientID—The identifier of the client OAuth 2.0 authentication application created in Box.
clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.
publicKeyId—The identifier of the public key contained within an identity certificate.
privateKey—A set of characters that make up an encryption key.
passphrase—A set of characters that act like a password.
You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.
BoxConfiguration.Builder useChangeLog(Boolean useChangeLog)
TRUE to use the Slack change log to determine which documents require updating in the index.
Depending on the data source change log's size, it may take longer for Amazon Kendra to use the change log
than to scan all of your documents.
useChangeLog - TRUE to use the Slack change log to determine which documents require updating in the
index. Depending on the data source change log's size, it may take longer for Amazon Kendra to use the
change log than to scan all of your documents.BoxConfiguration.Builder crawlComments(Boolean crawlComments)
TRUE to index comments.
crawlComments - TRUE to index comments.BoxConfiguration.Builder crawlTasks(Boolean crawlTasks)
TRUE to index the contents of tasks.
crawlTasks - TRUE to index the contents of tasks.BoxConfiguration.Builder crawlWebLinks(Boolean crawlWebLinks)
TRUE to index web links.
crawlWebLinks - TRUE to index web links.BoxConfiguration.Builder fileFieldMappings(Collection<DataSourceToIndexFieldMapping> fileFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box files
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you
map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
fileFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
files to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields.
The Box field names must exist in your Box custom metadata.BoxConfiguration.Builder fileFieldMappings(DataSourceToIndexFieldMapping... fileFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box files
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you
map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
fileFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
files to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields.
The Box field names must exist in your Box custom metadata.BoxConfiguration.Builder fileFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fileFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box files
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you
map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
DataSourceToIndexFieldMapping.Builder avoiding the need
to create one manually via
DataSourceToIndexFieldMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #fileFieldMappings(List.
fileFieldMappings - a consumer that will call methods on
DataSourceToIndexFieldMapping.Builder#fileFieldMappings(java.util.Collection) BoxConfiguration.Builder taskFieldMappings(Collection<DataSourceToIndexFieldMapping> taskFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box tasks
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you
map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
taskFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
tasks to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields.
The Box field names must exist in your Box custom metadata.BoxConfiguration.Builder taskFieldMappings(DataSourceToIndexFieldMapping... taskFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box tasks
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you
map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
taskFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
tasks to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields.
The Box field names must exist in your Box custom metadata.BoxConfiguration.Builder taskFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... taskFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box tasks
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you
map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
DataSourceToIndexFieldMapping.Builder avoiding the need
to create one manually via
DataSourceToIndexFieldMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #taskFieldMappings(List.
taskFieldMappings - a consumer that will call methods on
DataSourceToIndexFieldMapping.Builder#taskFieldMappings(java.util.Collection) BoxConfiguration.Builder commentFieldMappings(Collection<DataSourceToIndexFieldMapping> commentFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API
before you map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
commentFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields.
The Box field names must exist in your Box custom metadata.BoxConfiguration.Builder commentFieldMappings(DataSourceToIndexFieldMapping... commentFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API
before you map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
commentFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields.
The Box field names must exist in your Box custom metadata.BoxConfiguration.Builder commentFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... commentFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API
before you map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
DataSourceToIndexFieldMapping.Builder avoiding the need
to create one manually via
DataSourceToIndexFieldMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #commentFieldMappings(List.
commentFieldMappings - a consumer that will call methods on
DataSourceToIndexFieldMapping.Builder#commentFieldMappings(java.util.Collection) BoxConfiguration.Builder webLinkFieldMappings(Collection<DataSourceToIndexFieldMapping> webLinkFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box web
links to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API
before you map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
webLinkFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
web links to Amazon Kendra index field names. To create custom fields, use the
UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields.
The Box field names must exist in your Box custom metadata.BoxConfiguration.Builder webLinkFieldMappings(DataSourceToIndexFieldMapping... webLinkFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box web
links to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API
before you map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
webLinkFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box
web links to Amazon Kendra index field names. To create custom fields, use the
UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields.
The Box field names must exist in your Box custom metadata.BoxConfiguration.Builder webLinkFieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... webLinkFieldMappings)
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box web
links to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API
before you map to Box fields. For more information, see Mapping data source fields. The
Box field names must exist in your Box custom metadata.
DataSourceToIndexFieldMapping.Builder avoiding the need
to create one manually via
DataSourceToIndexFieldMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #webLinkFieldMappings(List.
webLinkFieldMappings - a consumer that will call methods on
DataSourceToIndexFieldMapping.Builder#webLinkFieldMappings(java.util.Collection) BoxConfiguration.Builder inclusionPatterns(Collection<String> inclusionPatterns)
A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
inclusionPatterns - A list of regular expression patterns to include certain files and folders in your Box platform. Files
and folders that match the patterns are included in the index. Files and folders that don't match the
patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion
pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.BoxConfiguration.Builder inclusionPatterns(String... inclusionPatterns)
A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
inclusionPatterns - A list of regular expression patterns to include certain files and folders in your Box platform. Files
and folders that match the patterns are included in the index. Files and folders that don't match the
patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion
pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.BoxConfiguration.Builder exclusionPatterns(Collection<String> exclusionPatterns)
A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
exclusionPatterns - A list of regular expression patterns to exclude certain files and folders from your Box platform.
Files and folders that match the patterns are excluded from the index.Files and folders that don't
match the patterns are included in the index. If a file or folder matches both an inclusion and
exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the
index.BoxConfiguration.Builder exclusionPatterns(String... exclusionPatterns)
A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
exclusionPatterns - A list of regular expression patterns to exclude certain files and folders from your Box platform.
Files and folders that match the patterns are excluded from the index.Files and folders that don't
match the patterns are included in the index. If a file or folder matches both an inclusion and
exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the
index.BoxConfiguration.Builder vpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.
vpcConfiguration - Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.default BoxConfiguration.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)
Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.
This is a convenience method that creates an instance of theDataSourceVpcConfiguration.Builder
avoiding the need to create one manually via DataSourceVpcConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to vpcConfiguration(DataSourceVpcConfiguration).
vpcConfiguration - a consumer that will call methods on DataSourceVpcConfiguration.BuildervpcConfiguration(DataSourceVpcConfiguration)Copyright © 2023. All rights reserved.