@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceKnowledgeArticleConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceKnowledgeArticleConfiguration.Builder,SalesforceKnowledgeArticleConfiguration>
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
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceKnowledgeArticleConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SalesforceKnowledgeArticleConfiguration.Builder |
builder() |
List<SalesforceCustomKnowledgeArticleTypeConfiguration> |
customKnowledgeArticleTypeConfigurations()
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()
For responses, this returns true if the service returned a value for the CustomKnowledgeArticleTypeConfigurations
property.
|
int |
hashCode() |
boolean |
hasIncludedStates()
For responses, this returns true if the service returned a value for the IncludedStates property.
|
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()
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 final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIncludedStates() method.
public final boolean hasIncludedStates()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIncludedStates() method.
public final SalesforceStandardKnowledgeArticleTypeConfiguration standardKnowledgeArticleTypeConfiguration()
Configuration information for standard Salesforce knowledge articles.
public final boolean hasCustomKnowledgeArticleTypeConfigurations()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.public final List<SalesforceCustomKnowledgeArticleTypeConfiguration> customKnowledgeArticleTypeConfigurations()
Configuration information for custom Salesforce knowledge articles.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the
hasCustomKnowledgeArticleTypeConfigurations() method.
public SalesforceKnowledgeArticleConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SalesforceKnowledgeArticleConfiguration.Builder,SalesforceKnowledgeArticleConfiguration>public static SalesforceKnowledgeArticleConfiguration.Builder builder()
public static Class<? extends SalesforceKnowledgeArticleConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.