@Generated(value="software.amazon.awssdk:codegen") public final class CrawlerHistory extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CrawlerHistory.Builder,CrawlerHistory>
Contains the information for a run of a crawler.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CrawlerHistory.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CrawlerHistory.Builder |
builder() |
String |
crawlId()
A UUID identifier for each crawl.
|
Double |
dpuHour()
The number of data processing units (DPU) used in hours for the crawl.
|
Instant |
endTime()
The date and time on which the crawl ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
If an error occurred, the error message associated with the crawl.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logGroup()
The log group associated with the crawl.
|
String |
logStream()
The log stream associated with the crawl.
|
String |
messagePrefix()
The prefix for a CloudWatch message about this crawl.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CrawlerHistory.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The date and time on which the crawl started.
|
CrawlerHistoryState |
state()
The state of the crawl.
|
String |
stateAsString()
The state of the crawl.
|
String |
summary()
A run summary for the specific crawl in JSON.
|
CrawlerHistory.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String crawlId()
A UUID identifier for each crawl.
public final CrawlerHistoryState state()
The state of the crawl.
If the service returns an enum value that is not available in the current SDK version, state will return
CrawlerHistoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CrawlerHistoryStatepublic final String stateAsString()
The state of the crawl.
If the service returns an enum value that is not available in the current SDK version, state will return
CrawlerHistoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CrawlerHistoryStatepublic final Instant startTime()
The date and time on which the crawl started.
public final Instant endTime()
The date and time on which the crawl ended.
public final String summary()
A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
public final String errorMessage()
If an error occurred, the error message associated with the crawl.
public final String logGroup()
The log group associated with the crawl.
public final String logStream()
The log stream associated with the crawl.
public final String messagePrefix()
The prefix for a CloudWatch message about this crawl.
public final Double dpuHour()
The number of data processing units (DPU) used in hours for the crawl.
public CrawlerHistory.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CrawlerHistory.Builder,CrawlerHistory>public static CrawlerHistory.Builder builder()
public static Class<? extends CrawlerHistory.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.