Interface SalesforceKnowledgeArticleConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SalesforceKnowledgeArticleConfiguration.Builder,,SalesforceKnowledgeArticleConfiguration> SdkBuilder<SalesforceKnowledgeArticleConfiguration.Builder,,SalesforceKnowledgeArticleConfiguration> SdkPojo
- Enclosing class:
SalesforceKnowledgeArticleConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncustomKnowledgeArticleTypeConfigurations(Collection<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations) Configuration information for custom Salesforce knowledge articles.customKnowledgeArticleTypeConfigurations(Consumer<SalesforceCustomKnowledgeArticleTypeConfiguration.Builder>... customKnowledgeArticleTypeConfigurations) Configuration information for custom Salesforce knowledge articles.customKnowledgeArticleTypeConfigurations(SalesforceCustomKnowledgeArticleTypeConfiguration... customKnowledgeArticleTypeConfigurations) Configuration information for custom Salesforce knowledge articles.includedStates(Collection<SalesforceKnowledgeArticleState> includedStates) Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.includedStates(SalesforceKnowledgeArticleState... includedStates) Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.includedStatesWithStrings(String... includedStates) Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.includedStatesWithStrings(Collection<String> includedStates) Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.standardKnowledgeArticleTypeConfiguration(Consumer<SalesforceStandardKnowledgeArticleTypeConfiguration.Builder> standardKnowledgeArticleTypeConfiguration) Configuration information for standard Salesforce knowledge articles.standardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration) Configuration information for standard Salesforce knowledge articles.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
includedStatesWithStrings
SalesforceKnowledgeArticleConfiguration.Builder includedStatesWithStrings(Collection<String> includedStates) Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
- Parameters:
includedStates- Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedStatesWithStrings
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
- Parameters:
includedStates- Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedStates
SalesforceKnowledgeArticleConfiguration.Builder includedStates(Collection<SalesforceKnowledgeArticleState> includedStates) Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
- Parameters:
includedStates- Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedStates
SalesforceKnowledgeArticleConfiguration.Builder includedStates(SalesforceKnowledgeArticleState... includedStates) Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
- Parameters:
includedStates- Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardKnowledgeArticleTypeConfiguration
SalesforceKnowledgeArticleConfiguration.Builder standardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration) Configuration information for standard Salesforce knowledge articles.
- Parameters:
standardKnowledgeArticleTypeConfiguration- Configuration information for standard Salesforce knowledge articles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardKnowledgeArticleTypeConfiguration
default SalesforceKnowledgeArticleConfiguration.Builder standardKnowledgeArticleTypeConfiguration(Consumer<SalesforceStandardKnowledgeArticleTypeConfiguration.Builder> standardKnowledgeArticleTypeConfiguration) Configuration information for standard Salesforce knowledge articles.
This is a convenience method that creates an instance of theSalesforceStandardKnowledgeArticleTypeConfiguration.Builderavoiding the need to create one manually viaSalesforceStandardKnowledgeArticleTypeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostandardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration).- Parameters:
standardKnowledgeArticleTypeConfiguration- a consumer that will call methods onSalesforceStandardKnowledgeArticleTypeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customKnowledgeArticleTypeConfigurations
SalesforceKnowledgeArticleConfiguration.Builder customKnowledgeArticleTypeConfigurations(Collection<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations) Configuration information for custom Salesforce knowledge articles.
- Parameters:
customKnowledgeArticleTypeConfigurations- Configuration information for custom Salesforce knowledge articles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customKnowledgeArticleTypeConfigurations
SalesforceKnowledgeArticleConfiguration.Builder customKnowledgeArticleTypeConfigurations(SalesforceCustomKnowledgeArticleTypeConfiguration... customKnowledgeArticleTypeConfigurations) Configuration information for custom Salesforce knowledge articles.
- Parameters:
customKnowledgeArticleTypeConfigurations- Configuration information for custom Salesforce knowledge articles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customKnowledgeArticleTypeConfigurations
SalesforceKnowledgeArticleConfiguration.Builder customKnowledgeArticleTypeConfigurations(Consumer<SalesforceCustomKnowledgeArticleTypeConfiguration.Builder>... customKnowledgeArticleTypeConfigurations) Configuration information for custom Salesforce knowledge articles.
This is a convenience method that creates an instance of theSalesforceCustomKnowledgeArticleTypeConfiguration.Builderavoiding the need to create one manually viaSalesforceCustomKnowledgeArticleTypeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomKnowledgeArticleTypeConfigurations(List<SalesforceCustomKnowledgeArticleTypeConfiguration>).- Parameters:
customKnowledgeArticleTypeConfigurations- a consumer that will call methods onSalesforceCustomKnowledgeArticleTypeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-