@Generated(value="software.amazon.awssdk:codegen") public final class RecrawlPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecrawlPolicy.Builder,RecrawlPolicy>
When crawling an Amazon S3 data source after the first crawl is complete, specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. For more information, see Incremental Crawls in Glue in the developer guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RecrawlPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RecrawlPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RecrawlBehavior |
recrawlBehavior()
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last
crawler run.
|
String |
recrawlBehaviorAsString()
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last
crawler run.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RecrawlPolicy.Builder> |
serializableBuilderClass() |
RecrawlPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RecrawlBehavior recrawlBehavior()
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.
A value of CRAWL_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.
If the service returns an enum value that is not available in the current SDK version, recrawlBehavior
will return RecrawlBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from recrawlBehaviorAsString().
A value of CRAWL_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.
RecrawlBehaviorpublic final String recrawlBehaviorAsString()
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.
A value of CRAWL_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.
If the service returns an enum value that is not available in the current SDK version, recrawlBehavior
will return RecrawlBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from recrawlBehaviorAsString().
A value of CRAWL_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.
RecrawlBehaviorpublic RecrawlPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RecrawlPolicy.Builder,RecrawlPolicy>public static RecrawlPolicy.Builder builder()
public static Class<? extends RecrawlPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.