Class CrawlerHistory
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.CrawlerHistory
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CrawlerHistory.Builder,CrawlerHistory>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCrawlerHistory.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CrawlerHistory.Builderbuilder()StringcrawlId()A UUID identifier for each crawl.DoubledpuHour()The number of data processing units (DPU) used in hours for the crawl.InstantendTime()The date and time on which the crawl ended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()If an error occurred, the error message associated with the crawl.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogGroup()The log group associated with the crawl.StringlogStream()The log stream associated with the crawl.StringmessagePrefix()The prefix for a CloudWatch message about this crawl.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CrawlerHistory.Builder>serializableBuilderClass()InstantstartTime()The date and time on which the crawl started.CrawlerHistoryStatestate()The state of the crawl.StringstateAsString()The state of the crawl.Stringsummary()A run summary for the specific crawl in JSON.CrawlerHistory.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
crawlId
public final String crawlId()
A UUID identifier for each crawl.
- Returns:
- A UUID identifier for each crawl.
-
state
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,
statewill returnCrawlerHistoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the crawl.
- See Also:
CrawlerHistoryState
-
stateAsString
public final String stateAsString()
The state of the crawl.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCrawlerHistoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the crawl.
- See Also:
CrawlerHistoryState
-
startTime
public final Instant startTime()
The date and time on which the crawl started.
- Returns:
- The date and time on which the crawl started.
-
endTime
public final Instant endTime()
The date and time on which the crawl ended.
- Returns:
- The date and time on which the crawl ended.
-
summary
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.
- Returns:
- A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
-
errorMessage
public final String errorMessage()
If an error occurred, the error message associated with the crawl.
- Returns:
- If an error occurred, the error message associated with the crawl.
-
logGroup
public final String logGroup()
The log group associated with the crawl.
- Returns:
- The log group associated with the crawl.
-
logStream
public final String logStream()
The log stream associated with the crawl.
- Returns:
- The log stream associated with the crawl.
-
messagePrefix
public final String messagePrefix()
The prefix for a CloudWatch message about this crawl.
- Returns:
- The prefix for a CloudWatch message about this crawl.
-
dpuHour
public final Double dpuHour()
The number of data processing units (DPU) used in hours for the crawl.
- Returns:
- The number of data processing units (DPU) used in hours for the crawl.
-
toBuilder
public CrawlerHistory.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CrawlerHistory.Builder,CrawlerHistory>
-
builder
public static CrawlerHistory.Builder builder()
-
serializableBuilderClass
public static Class<? extends CrawlerHistory.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-