@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SiteMapsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for the sitemap URLs to crawl.
When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use Amazon Kendra Web Crawler to index your own web pages, or web pages that you have authorization to index.
Constructor and Description |
---|
SiteMapsConfiguration() |
Modifier and Type | Method and Description |
---|---|
SiteMapsConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSiteMaps()
The list of sitemap URLs of the websites you want to crawl.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSiteMaps(Collection<String> siteMaps)
The list of sitemap URLs of the websites you want to crawl.
|
String |
toString()
Returns a string representation of this object.
|
SiteMapsConfiguration |
withSiteMaps(Collection<String> siteMaps)
The list of sitemap URLs of the websites you want to crawl.
|
SiteMapsConfiguration |
withSiteMaps(String... siteMaps)
The list of sitemap URLs of the websites you want to crawl.
|
public List<String> getSiteMaps()
The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.
The list can include a maximum of three sitemap URLs.
public void setSiteMaps(Collection<String> siteMaps)
The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.
siteMaps
- The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.
public SiteMapsConfiguration withSiteMaps(String... siteMaps)
The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.
NOTE: This method appends the values to the existing list (if any). Use
setSiteMaps(java.util.Collection)
or withSiteMaps(java.util.Collection)
if you want to override
the existing values.
siteMaps
- The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.
public SiteMapsConfiguration withSiteMaps(Collection<String> siteMaps)
The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.
siteMaps
- The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.
public String toString()
toString
in class Object
Object.toString()
public SiteMapsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.