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 interfaceLastCrawlInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastCrawlInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()If an error occurred, the error information about the last crawl.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogGroup()The log group for the last crawl.StringlogStream()The log stream for the last crawl.StringmessagePrefix()The prefix for a message about this crawl.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LastCrawlInfo.Builder>serializableBuilderClass()InstantstartTime()The time at which the crawl started.LastCrawlStatusstatus()Status of the last crawl.StringstatusAsString()Status of the last crawl.LastCrawlInfo.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
-
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,
statuswill 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,
statuswill 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:
toBuilderin 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:
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
-
-