@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentSourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for your content sources, such as data sources, FAQs, and content indexed directly via BatchPutDocument.
| Constructor and Description |
|---|
ContentSourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ContentSourceConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDataSourceIds()
The identifier of the data sources you want to use for your Amazon Kendra experience.
|
Boolean |
getDirectPutContent()
TRUE to use documents you indexed directly using the BatchPutDocument API. |
List<String> |
getFaqIds()
The identifier of the FAQs that you want to use for your Amazon Kendra experience.
|
int |
hashCode() |
Boolean |
isDirectPutContent()
TRUE to use documents you indexed directly using the BatchPutDocument API. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataSourceIds(Collection<String> dataSourceIds)
The identifier of the data sources you want to use for your Amazon Kendra experience.
|
void |
setDirectPutContent(Boolean directPutContent)
TRUE to use documents you indexed directly using the BatchPutDocument API. |
void |
setFaqIds(Collection<String> faqIds)
The identifier of the FAQs that you want to use for your Amazon Kendra experience.
|
String |
toString()
Returns a string representation of this object.
|
ContentSourceConfiguration |
withDataSourceIds(Collection<String> dataSourceIds)
The identifier of the data sources you want to use for your Amazon Kendra experience.
|
ContentSourceConfiguration |
withDataSourceIds(String... dataSourceIds)
The identifier of the data sources you want to use for your Amazon Kendra experience.
|
ContentSourceConfiguration |
withDirectPutContent(Boolean directPutContent)
TRUE to use documents you indexed directly using the BatchPutDocument API. |
ContentSourceConfiguration |
withFaqIds(Collection<String> faqIds)
The identifier of the FAQs that you want to use for your Amazon Kendra experience.
|
ContentSourceConfiguration |
withFaqIds(String... faqIds)
The identifier of the FAQs that you want to use for your Amazon Kendra experience.
|
public List<String> getDataSourceIds()
The identifier of the data sources you want to use for your Amazon Kendra experience.
public void setDataSourceIds(Collection<String> dataSourceIds)
The identifier of the data sources you want to use for your Amazon Kendra experience.
dataSourceIds - The identifier of the data sources you want to use for your Amazon Kendra experience.public ContentSourceConfiguration withDataSourceIds(String... dataSourceIds)
The identifier of the data sources you want to use for your Amazon Kendra experience.
NOTE: This method appends the values to the existing list (if any). Use
setDataSourceIds(java.util.Collection) or withDataSourceIds(java.util.Collection) if you want
to override the existing values.
dataSourceIds - The identifier of the data sources you want to use for your Amazon Kendra experience.public ContentSourceConfiguration withDataSourceIds(Collection<String> dataSourceIds)
The identifier of the data sources you want to use for your Amazon Kendra experience.
dataSourceIds - The identifier of the data sources you want to use for your Amazon Kendra experience.public List<String> getFaqIds()
The identifier of the FAQs that you want to use for your Amazon Kendra experience.
public void setFaqIds(Collection<String> faqIds)
The identifier of the FAQs that you want to use for your Amazon Kendra experience.
faqIds - The identifier of the FAQs that you want to use for your Amazon Kendra experience.public ContentSourceConfiguration withFaqIds(String... faqIds)
The identifier of the FAQs that you want to use for your Amazon Kendra experience.
NOTE: This method appends the values to the existing list (if any). Use
setFaqIds(java.util.Collection) or withFaqIds(java.util.Collection) if you want to override the
existing values.
faqIds - The identifier of the FAQs that you want to use for your Amazon Kendra experience.public ContentSourceConfiguration withFaqIds(Collection<String> faqIds)
The identifier of the FAQs that you want to use for your Amazon Kendra experience.
faqIds - The identifier of the FAQs that you want to use for your Amazon Kendra experience.public void setDirectPutContent(Boolean directPutContent)
TRUE to use documents you indexed directly using the BatchPutDocument API.
directPutContent - TRUE to use documents you indexed directly using the BatchPutDocument API.public Boolean getDirectPutContent()
TRUE to use documents you indexed directly using the BatchPutDocument API.
TRUE to use documents you indexed directly using the BatchPutDocument API.public ContentSourceConfiguration withDirectPutContent(Boolean directPutContent)
TRUE to use documents you indexed directly using the BatchPutDocument API.
directPutContent - TRUE to use documents you indexed directly using the BatchPutDocument API.public Boolean isDirectPutContent()
TRUE to use documents you indexed directly using the BatchPutDocument API.
TRUE to use documents you indexed directly using the BatchPutDocument API.public String toString()
toString in class ObjectObject.toString()public ContentSourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.