Class CfnCrawlerPropsMixin.RecrawlPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnCrawlerPropsMixin.RecrawlPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawlerPropsMixin.RecrawlPolicyProperty>
- Enclosing interface:
CfnCrawlerPropsMixin.RecrawlPolicyProperty
@Stability(Stable)
public static final class CfnCrawlerPropsMixin.RecrawlPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrawlerPropsMixin.RecrawlPolicyProperty>
A builder for
CfnCrawlerPropsMixin.RecrawlPolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.recrawlBehavior(String recrawlBehavior) Sets the value ofCfnCrawlerPropsMixin.RecrawlPolicyProperty.getRecrawlBehavior()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recrawlBehavior
@Stability(Stable) public CfnCrawlerPropsMixin.RecrawlPolicyProperty.Builder recrawlBehavior(String recrawlBehavior) Sets the value ofCfnCrawlerPropsMixin.RecrawlPolicyProperty.getRecrawlBehavior()- Parameters:
recrawlBehavior- Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. A value ofCRAWL_EVERYTHINGspecifies crawling the entire dataset again.A value of
CRAWL_NEW_FOLDERS_ONLYspecifies crawling only folders that were added since the last crawler run.A value of
CRAWL_EVENT_MODEspecifies crawling only the changes identified by Amazon S3 events.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCrawlerPropsMixin.RecrawlPolicyProperty>- Returns:
- a new instance of
CfnCrawlerPropsMixin.RecrawlPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-