@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Crawl.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Crawl.Builder |
builder() |
Instant |
completedOn()
The date and time on which the crawl completed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Crawl.Builder> |
serializableBuilderClass() |
Instant |
startedOn()
The date and time on which the crawl started.
|
CrawlState |
state()
The state of the crawler.
|
String |
stateAsString()
The state of the crawler.
|
Crawl.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic CrawlState state()
The state of the crawler.
If the service returns an enum value that is not available in the current SDK version, state will return
CrawlState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CrawlStatepublic String stateAsString()
The state of the crawler.
If the service returns an enum value that is not available in the current SDK version, state will return
CrawlState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CrawlStatepublic Instant startedOn()
The date and time on which the crawl started.
public Instant completedOn()
The date and time on which the crawl completed.
public String errorMessage()
The error message associated with the crawl.
public String logGroup()
The log group associated with the crawl.
public String logStream()
The log stream associated with the crawl.
public Crawl.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Crawl.Builder,Crawl>public static Crawl.Builder builder()
public static Class<? extends Crawl.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.