Enum BotCategory
- All Implemented Interfaces:
Serializable,Comparable<BotCategory>
The category that describes a web bot's purpose. The categories follow AWS WAF Bot Control bot categories. Valid values:
-
advertising- Bots used for advertising, such as third-party ad services that access a website programmatically. -
archiver- Bots that crawl the web and capture content to create archives. -
content_fetcher- Bots that visit a website on behalf of a user to fetch content, such as RSS feeds, or to verify content. -
email_client- Bots that check links in emails, such as those run by email providers to flag suspicious emails. -
http_library- Requests generated by the HTTP libraries of programming languages, such as API clients. -
link_checker- Bots that check for broken links. -
miscellaneous- Bots that don't match another category. -
monitoring- Bots that periodically access a website to monitor performance and uptime. -
page_preview- Bots that generate page and link previews when content is shared on messaging, social media, or collaboration tools. -
scraping_framework- Bots from web scraping frameworks that automate crawling and extracting website content. -
search_engine- Bots that crawl websites to index content for search engine results. -
security- Bots that scan web applications for vulnerabilities or perform security audits. -
seo- Bots that crawl a website to help improve its search engine rankings. -
social_media- Bots that social media platforms use to provide content summaries when users share content. -
ai_training- AI bots that collect content to train AI models. -
ai_search- AI bots that retrieve content to answer AI search queries. -
ai_assistant- AI bots that access content on behalf of a user's AI assistant or agent. -
ai_content_optimization- AI bots that analyze content to optimize it for AI-generated results.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BotCategoryUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<BotCategory> toString()static BotCategoryReturns the enum constant of this type with the specified name.static BotCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADVERTISING
-
ARCHIVER
-
CONTENT_FETCHER
-
EMAIL_CLIENT
-
HTTP_LIBRARY
-
LINK_CHECKER
-
MISCELLANEOUS
-
MONITORING
-
PAGE_PREVIEW
-
SCRAPING_FRAMEWORK
-
SEARCH_ENGINE
-
SECURITY
-
SEO
-
SOCIAL_MEDIA
-
AI_TRAINING
-
AI_SEARCH
-
AI_ASSISTANT
-
AI_CONTENT_OPTIMIZATION
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<BotCategory>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- BotCategory corresponding to the value
-
knownValues
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownBotCategorys
-