Class CfnCrawler.RecrawlPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCrawler.RecrawlPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawler.RecrawlPolicyProperty>
- Enclosing interface:
CfnCrawler.RecrawlPolicyProperty
@Stability(Stable)
public static final class CfnCrawler.RecrawlPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrawler.RecrawlPolicyProperty>
A builder for
CfnCrawler.RecrawlPolicyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.recrawlBehavior
(String recrawlBehavior) Sets the value ofCfnCrawler.RecrawlPolicyProperty.getRecrawlBehavior()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recrawlBehavior
@Stability(Stable) public CfnCrawler.RecrawlPolicyProperty.Builder recrawlBehavior(String recrawlBehavior) Sets the value ofCfnCrawler.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_EVERYTHING
specifies crawling the entire dataset again.A value of
CRAWL_NEW_FOLDERS_ONLY
specifies crawling only folders that were added since the last crawler run.A value of
CRAWL_EVENT_MODE
specifies crawling only the changes identified by Amazon S3 events.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCrawler.RecrawlPolicyProperty>
- Returns:
- a new instance of
CfnCrawler.RecrawlPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-