Class LastCrawlInfo
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.LastCrawlInfo
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<LastCrawlInfo.Builder,LastCrawlInfo>
@Generated("software.amazon.awssdk:codegen") public final class LastCrawlInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LastCrawlInfo.Builder,LastCrawlInfo>
Status and error information about the most recent crawl.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LastCrawlInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastCrawlInfo.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(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.String
messagePrefix()
The prefix for a message about this crawl.List<SdkField<?>>
sdkFields()
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()
String
toString()
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
-
status
public final 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 returnLastCrawlStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Status of the last crawl.
- See Also:
LastCrawlStatus
-
statusAsString
public final 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 returnLastCrawlStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Status of the last crawl.
- See Also:
LastCrawlStatus
-
errorMessage
public final String errorMessage()
If an error occurred, the error information about the last crawl.
- Returns:
- If an error occurred, the error information about the last crawl.
-
logGroup
public final String logGroup()
The log group for the last crawl.
- Returns:
- The log group for the last crawl.
-
logStream
public final String logStream()
The log stream for the last crawl.
- Returns:
- The log stream for the last crawl.
-
messagePrefix
public final String messagePrefix()
The prefix for a message about this crawl.
- Returns:
- The prefix for a message about this crawl.
-
startTime
public final Instant startTime()
The time at which the crawl started.
- Returns:
- The time at which the crawl started.
-
toBuilder
public LastCrawlInfo.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<LastCrawlInfo.Builder,LastCrawlInfo>
-
builder
public static LastCrawlInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends LastCrawlInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-