Class CfnDataSourcePropsMixin.WebCrawlerLimitsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.WebCrawlerLimitsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.WebCrawlerLimitsProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.WebCrawlerLimitsProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.WebCrawlerLimitsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.WebCrawlerLimitsProperty>
A builder for
CfnDataSourcePropsMixin.WebCrawlerLimitsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSourcePropsMixin.WebCrawlerLimitsProperty.getMaxPages()Sets the value ofCfnDataSourcePropsMixin.WebCrawlerLimitsProperty.getRateLimit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxPages
@Stability(Stable) public CfnDataSourcePropsMixin.WebCrawlerLimitsProperty.Builder maxPages(Number maxPages) Sets the value ofCfnDataSourcePropsMixin.WebCrawlerLimitsProperty.getMaxPages()- Parameters:
maxPages- The max number of web pages crawled from your source URLs, up to 25,000 pages. If the web pages exceed this limit, the data source sync will fail and no web pages will be ingested.- Returns:
this
-
rateLimit
@Stability(Stable) public CfnDataSourcePropsMixin.WebCrawlerLimitsProperty.Builder rateLimit(Number rateLimit) Sets the value ofCfnDataSourcePropsMixin.WebCrawlerLimitsProperty.getRateLimit()- Parameters:
rateLimit- The max rate at which pages are crawled, up to 300 per minute per host.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.WebCrawlerLimitsProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.WebCrawlerLimitsProperty - Throws:
NullPointerException- if any required attribute was not provided
-