Class CfnDataSource.WebCrawlerLimitsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.WebCrawlerLimitsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.WebCrawlerLimitsProperty>
- Enclosing interface:
CfnDataSource.WebCrawlerLimitsProperty
@Stability(Stable)
public static final class CfnDataSource.WebCrawlerLimitsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.WebCrawlerLimitsProperty>
A builder for
CfnDataSource.WebCrawlerLimitsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDataSource.WebCrawlerLimitsProperty.getRateLimit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rateLimit
@Stability(Stable) public CfnDataSource.WebCrawlerLimitsProperty.Builder rateLimit(Number rateLimit) Sets the value ofCfnDataSource.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.WebCrawlerLimitsProperty>
- Returns:
- a new instance of
CfnDataSource.WebCrawlerLimitsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-