@Generated(value="software.amazon.awssdk:codegen") public final class LastCrawlInfo extends Object implements StructuredPojo, ToCopyableBuilder<LastCrawlInfo.Builder,LastCrawlInfo>
Status and error information about the most recent crawl.
Modifier and Type | Class and Description |
---|---|
static interface |
LastCrawlInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static LastCrawlInfo.Builder |
builder() |
boolean |
equals(Object obj) |
String |
errorMessage()
If an error occurred, the error information about the last crawl.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logGroup()
The log group for the last crawl.
|
String |
logStream()
The log stream for the last crawl.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
messagePrefix()
The prefix for a message about this crawl.
|
static Class<? extends LastCrawlInfo.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time at which the crawl started.
|
LastCrawlStatus |
status()
Status of the last crawl.
|
String |
statusAsString()
Status of the last crawl.
|
LastCrawlInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public LastCrawlStatus status()
Status of the last crawl.
If the service returns an enum value that is not available in the current SDK version, status
will
return LastCrawlStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
LastCrawlStatus
public String statusAsString()
Status of the last crawl.
If the service returns an enum value that is not available in the current SDK version, status
will
return LastCrawlStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
LastCrawlStatus
public String errorMessage()
If an error occurred, the error information about the last crawl.
public String logGroup()
The log group for the last crawl.
public String logStream()
The log stream for the last crawl.
public String messagePrefix()
The prefix for a message about this crawl.
public Instant startTime()
The time at which the crawl started.
public LastCrawlInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LastCrawlInfo.Builder,LastCrawlInfo>
public static LastCrawlInfo.Builder builder()
public static Class<? extends LastCrawlInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.