@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceKnowledgeArticleConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceKnowledgeArticleConfiguration.Builder,SalesforceKnowledgeArticleConfiguration>
Specifies configuration information for the knowlege 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
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceKnowledgeArticleConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SalesforceKnowledgeArticleConfiguration.Builder |
builder() |
List<SalesforceCustomKnowledgeArticleTypeConfiguration> |
customKnowledgeArticleTypeConfigurations()
Provides configuration information for custom Salesforce knowledge articles.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCustomKnowledgeArticleTypeConfigurations()
Returns true if the CustomKnowledgeArticleTypeConfigurations property was specified by the sender (it may be
empty), or false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasIncludedStates()
Returns true if the IncludedStates property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<SalesforceKnowledgeArticleState> |
includedStates()
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
List<String> |
includedStatesAsStrings()
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SalesforceKnowledgeArticleConfiguration.Builder> |
serializableBuilderClass() |
SalesforceStandardKnowledgeArticleTypeConfiguration |
standardKnowledgeArticleTypeConfiguration()
Provides configuration information for standard Salesforce knowledge articles.
|
SalesforceKnowledgeArticleConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<SalesforceKnowledgeArticleState> includedStates()
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIncludedStates() to see if a value was sent in this field.
public boolean hasIncludedStates()
public List<String> includedStatesAsStrings()
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIncludedStates() to see if a value was sent in this field.
public SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration()
Provides configuration information for standard Salesforce knowledge articles.
public boolean hasCustomKnowledgeArticleTypeConfigurations()
public List<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations()
Provides configuration information for custom Salesforce knowledge articles.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCustomKnowledgeArticleTypeConfigurations() to see if a value was sent in this field.
public SalesforceKnowledgeArticleConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SalesforceKnowledgeArticleConfiguration.Builder,SalesforceKnowledgeArticleConfiguration>public static SalesforceKnowledgeArticleConfiguration.Builder builder()
public static Class<? extends SalesforceKnowledgeArticleConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.