@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceKnowledgeArticleConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both
Constructor and Description |
---|
SalesforceKnowledgeArticleConfiguration() |
Modifier and Type | Method and Description |
---|---|
SalesforceKnowledgeArticleConfiguration |
clone() |
boolean |
equals(Object obj) |
List<SalesforceCustomKnowledgeArticleTypeConfiguration> |
getCustomKnowledgeArticleTypeConfigurations()
Configuration information for custom Salesforce knowledge articles.
|
List<String> |
getIncludedStates()
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
SalesforceStandardKnowledgeArticleTypeConfiguration |
getStandardKnowledgeArticleTypeConfiguration()
Configuration information for standard Salesforce knowledge articles.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomKnowledgeArticleTypeConfigurations(Collection<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations)
Configuration information for custom Salesforce knowledge articles.
|
void |
setIncludedStates(Collection<String> includedStates)
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
void |
setStandardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration)
Configuration information for standard Salesforce knowledge articles.
|
String |
toString()
Returns a string representation of this object.
|
SalesforceKnowledgeArticleConfiguration |
withCustomKnowledgeArticleTypeConfigurations(Collection<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations)
Configuration information for custom Salesforce knowledge articles.
|
SalesforceKnowledgeArticleConfiguration |
withCustomKnowledgeArticleTypeConfigurations(SalesforceCustomKnowledgeArticleTypeConfiguration... customKnowledgeArticleTypeConfigurations)
Configuration information for custom Salesforce knowledge articles.
|
SalesforceKnowledgeArticleConfiguration |
withIncludedStates(Collection<String> includedStates)
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
SalesforceKnowledgeArticleConfiguration |
withIncludedStates(SalesforceKnowledgeArticleState... includedStates)
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
SalesforceKnowledgeArticleConfiguration |
withIncludedStates(String... includedStates)
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
SalesforceKnowledgeArticleConfiguration |
withStandardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration)
Configuration information for standard Salesforce knowledge articles.
|
public SalesforceKnowledgeArticleConfiguration()
public List<String> getIncludedStates()
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
SalesforceKnowledgeArticleState
public void setIncludedStates(Collection<String> includedStates)
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
includedStates
- Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You
must specify at least one state.SalesforceKnowledgeArticleState
public SalesforceKnowledgeArticleConfiguration withIncludedStates(String... includedStates)
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
NOTE: This method appends the values to the existing list (if any). Use
setIncludedStates(java.util.Collection)
or withIncludedStates(java.util.Collection)
if you want
to override the existing values.
includedStates
- Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You
must specify at least one state.SalesforceKnowledgeArticleState
public SalesforceKnowledgeArticleConfiguration withIncludedStates(Collection<String> includedStates)
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
includedStates
- Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You
must specify at least one state.SalesforceKnowledgeArticleState
public SalesforceKnowledgeArticleConfiguration withIncludedStates(SalesforceKnowledgeArticleState... includedStates)
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
includedStates
- Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You
must specify at least one state.SalesforceKnowledgeArticleState
public void setStandardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration)
Configuration information for standard Salesforce knowledge articles.
standardKnowledgeArticleTypeConfiguration
- Configuration information for standard Salesforce knowledge articles.public SalesforceStandardKnowledgeArticleTypeConfiguration getStandardKnowledgeArticleTypeConfiguration()
Configuration information for standard Salesforce knowledge articles.
public SalesforceKnowledgeArticleConfiguration withStandardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration)
Configuration information for standard Salesforce knowledge articles.
standardKnowledgeArticleTypeConfiguration
- Configuration information for standard Salesforce knowledge articles.public List<SalesforceCustomKnowledgeArticleTypeConfiguration> getCustomKnowledgeArticleTypeConfigurations()
Configuration information for custom Salesforce knowledge articles.
public void setCustomKnowledgeArticleTypeConfigurations(Collection<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations)
Configuration information for custom Salesforce knowledge articles.
customKnowledgeArticleTypeConfigurations
- Configuration information for custom Salesforce knowledge articles.public SalesforceKnowledgeArticleConfiguration withCustomKnowledgeArticleTypeConfigurations(SalesforceCustomKnowledgeArticleTypeConfiguration... customKnowledgeArticleTypeConfigurations)
Configuration information for custom Salesforce knowledge articles.
NOTE: This method appends the values to the existing list (if any). Use
setCustomKnowledgeArticleTypeConfigurations(java.util.Collection)
or
withCustomKnowledgeArticleTypeConfigurations(java.util.Collection)
if you want to override the existing
values.
customKnowledgeArticleTypeConfigurations
- Configuration information for custom Salesforce knowledge articles.public SalesforceKnowledgeArticleConfiguration withCustomKnowledgeArticleTypeConfigurations(Collection<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations)
Configuration information for custom Salesforce knowledge articles.
customKnowledgeArticleTypeConfigurations
- Configuration information for custom Salesforce knowledge articles.public String toString()
toString
in class Object
Object.toString()
public SalesforceKnowledgeArticleConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.