Interface SalesforceKnowledgeArticleConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SalesforceKnowledgeArticleConfiguration.Builder,SalesforceKnowledgeArticleConfiguration>,SdkBuilder<SalesforceKnowledgeArticleConfiguration.Builder,SalesforceKnowledgeArticleConfiguration>,SdkPojo
- Enclosing class:
- SalesforceKnowledgeArticleConfiguration
public static interface SalesforceKnowledgeArticleConfiguration.Builder extends SdkPojo, CopyableBuilder<SalesforceKnowledgeArticleConfiguration.Builder,SalesforceKnowledgeArticleConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SalesforceKnowledgeArticleConfiguration.BuildercustomKnowledgeArticleTypeConfigurations(Collection<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations)Configuration information for custom Salesforce knowledge articles.SalesforceKnowledgeArticleConfiguration.BuildercustomKnowledgeArticleTypeConfigurations(Consumer<SalesforceCustomKnowledgeArticleTypeConfiguration.Builder>... customKnowledgeArticleTypeConfigurations)Configuration information for custom Salesforce knowledge articles.SalesforceKnowledgeArticleConfiguration.BuildercustomKnowledgeArticleTypeConfigurations(SalesforceCustomKnowledgeArticleTypeConfiguration... customKnowledgeArticleTypeConfigurations)Configuration information for custom Salesforce knowledge articles.SalesforceKnowledgeArticleConfiguration.BuilderincludedStates(Collection<SalesforceKnowledgeArticleState> includedStates)Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.SalesforceKnowledgeArticleConfiguration.BuilderincludedStates(SalesforceKnowledgeArticleState... includedStates)Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.SalesforceKnowledgeArticleConfiguration.BuilderincludedStatesWithStrings(String... includedStates)Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.SalesforceKnowledgeArticleConfiguration.BuilderincludedStatesWithStrings(Collection<String> includedStates)Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.default SalesforceKnowledgeArticleConfiguration.BuilderstandardKnowledgeArticleTypeConfiguration(Consumer<SalesforceStandardKnowledgeArticleTypeConfiguration.Builder> standardKnowledgeArticleTypeConfiguration)Configuration information for standard Salesforce knowledge articles.SalesforceKnowledgeArticleConfiguration.BuilderstandardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration)Configuration information for standard Salesforce knowledge articles.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
SalesforceKnowledgeArticleConfiguration.Builder includedStatesWithStrings(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.
-
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:
standardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration)
-
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 to#customKnowledgeArticleTypeConfigurations(List.) - 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:
#customKnowledgeArticleTypeConfigurations(java.util.Collection< SalesforceCustomKnowledgeArticleTypeConfiguration>)
-
-