@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecrawlPolicy extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
RecrawlPolicy() |
Modifier and Type | Method and Description |
---|---|
RecrawlPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getRecrawlBehavior()
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last
crawler run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecrawlBehavior(String recrawlBehavior)
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last
crawler run.
|
String |
toString()
Returns a string representation of this object.
|
RecrawlPolicy |
withRecrawlBehavior(RecrawlBehavior recrawlBehavior)
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last
crawler run.
|
RecrawlPolicy |
withRecrawlBehavior(String recrawlBehavior)
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last
crawler run.
|
public void setRecrawlBehavior(String 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.
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.
RecrawlBehavior
public String getRecrawlBehavior()
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.
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.
RecrawlBehavior
public RecrawlPolicy withRecrawlBehavior(String 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.
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.
RecrawlBehavior
public RecrawlPolicy withRecrawlBehavior(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.
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.
RecrawlBehavior
public String toString()
toString
in class Object
Object.toString()
public RecrawlPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.