Class Crawl
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.Crawl
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Crawl.Builder,Crawl>
@Generated("software.amazon.awssdk:codegen") public final class Crawl extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Crawl.Builder,Crawl>
The details of a crawl in the workflow.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCrawl.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Crawl.Builderbuilder()InstantcompletedOn()The date and time on which the crawl completed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Crawl.Builder>serializableBuilderClass()InstantstartedOn()The date and time on which the crawl started.CrawlStatestate()The state of the crawler.StringstateAsString()The state of the crawler.Crawl.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
-
state
public final CrawlState state()
The state of the crawler.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCrawlState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the crawler.
- See Also:
CrawlState
-
stateAsString
public final String stateAsString()
The state of the crawler.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCrawlState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the crawler.
- See Also:
CrawlState
-
startedOn
public final Instant startedOn()
The date and time on which the crawl started.
- Returns:
- The date and time on which the crawl started.
-
completedOn
public final Instant completedOn()
The date and time on which the crawl completed.
- Returns:
- The date and time on which the crawl completed.
-
errorMessage
public final String errorMessage()
The error message associated with the crawl.
- Returns:
- 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.
-
toBuilder
public Crawl.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Crawl.Builder,Crawl>
-
builder
public static Crawl.Builder builder()
-
serializableBuilderClass
public static Class<? extends Crawl.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
-
-