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:
  • Method Details

    • 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, state will return CrawlerHistoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

      Returns:
      The state of the crawl.
      See Also:
    • 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, state will return CrawlerHistoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

      Returns:
      The state of the crawl.
      See Also:
    • 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()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<CrawlerHistory.Builder,CrawlerHistory>
      Returns:
      a builder for type T
    • builder

      public static CrawlerHistory.Builder builder()
    • serializableBuilderClass

      public static Class<? extends CrawlerHistory.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.