@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CrawlerHistory extends Object implements Serializable, Cloneable, StructuredPojo
Contains the information for a run of a crawler.
Constructor and Description |
---|
CrawlerHistory() |
Modifier and Type | Method and Description |
---|---|
CrawlerHistory |
clone() |
boolean |
equals(Object obj) |
String |
getCrawlId()
A UUID identifier for each crawl.
|
Double |
getDPUHour()
The number of data processing units (DPU) used in hours for the crawl.
|
Date |
getEndTime()
The date and time on which the crawl ended.
|
String |
getErrorMessage()
If an error occurred, the error message associated with the crawl.
|
String |
getLogGroup()
The log group associated with the crawl.
|
String |
getLogStream()
The log stream associated with the crawl.
|
String |
getMessagePrefix()
The prefix for a CloudWatch message about this crawl.
|
Date |
getStartTime()
The date and time on which the crawl started.
|
String |
getState()
The state of the crawl.
|
String |
getSummary()
A run summary for the specific crawl in JSON.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCrawlId(String crawlId)
A UUID identifier for each crawl.
|
void |
setDPUHour(Double dPUHour)
The number of data processing units (DPU) used in hours for the crawl.
|
void |
setEndTime(Date endTime)
The date and time on which the crawl ended.
|
void |
setErrorMessage(String errorMessage)
If an error occurred, the error message associated with the crawl.
|
void |
setLogGroup(String logGroup)
The log group associated with the crawl.
|
void |
setLogStream(String logStream)
The log stream associated with the crawl.
|
void |
setMessagePrefix(String messagePrefix)
The prefix for a CloudWatch message about this crawl.
|
void |
setStartTime(Date startTime)
The date and time on which the crawl started.
|
void |
setState(String state)
The state of the crawl.
|
void |
setSummary(String summary)
A run summary for the specific crawl in JSON.
|
String |
toString()
Returns a string representation of this object.
|
CrawlerHistory |
withCrawlId(String crawlId)
A UUID identifier for each crawl.
|
CrawlerHistory |
withDPUHour(Double dPUHour)
The number of data processing units (DPU) used in hours for the crawl.
|
CrawlerHistory |
withEndTime(Date endTime)
The date and time on which the crawl ended.
|
CrawlerHistory |
withErrorMessage(String errorMessage)
If an error occurred, the error message associated with the crawl.
|
CrawlerHistory |
withLogGroup(String logGroup)
The log group associated with the crawl.
|
CrawlerHistory |
withLogStream(String logStream)
The log stream associated with the crawl.
|
CrawlerHistory |
withMessagePrefix(String messagePrefix)
The prefix for a CloudWatch message about this crawl.
|
CrawlerHistory |
withStartTime(Date startTime)
The date and time on which the crawl started.
|
CrawlerHistory |
withState(CrawlerHistoryState state)
The state of the crawl.
|
CrawlerHistory |
withState(String state)
The state of the crawl.
|
CrawlerHistory |
withSummary(String summary)
A run summary for the specific crawl in JSON.
|
public void setCrawlId(String crawlId)
A UUID identifier for each crawl.
crawlId
- A UUID identifier for each crawl.public String getCrawlId()
A UUID identifier for each crawl.
public CrawlerHistory withCrawlId(String crawlId)
A UUID identifier for each crawl.
crawlId
- A UUID identifier for each crawl.public void setState(String state)
The state of the crawl.
state
- The state of the crawl.CrawlerHistoryState
public String getState()
The state of the crawl.
CrawlerHistoryState
public CrawlerHistory withState(String state)
The state of the crawl.
state
- The state of the crawl.CrawlerHistoryState
public CrawlerHistory withState(CrawlerHistoryState state)
The state of the crawl.
state
- The state of the crawl.CrawlerHistoryState
public void setStartTime(Date startTime)
The date and time on which the crawl started.
startTime
- The date and time on which the crawl started.public Date getStartTime()
The date and time on which the crawl started.
public CrawlerHistory withStartTime(Date startTime)
The date and time on which the crawl started.
startTime
- The date and time on which the crawl started.public void setEndTime(Date endTime)
The date and time on which the crawl ended.
endTime
- The date and time on which the crawl ended.public Date getEndTime()
The date and time on which the crawl ended.
public CrawlerHistory withEndTime(Date endTime)
The date and time on which the crawl ended.
endTime
- The date and time on which the crawl ended.public void setSummary(String summary)
A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
summary
- A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added,
updated, or deleted.public String getSummary()
A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
public CrawlerHistory withSummary(String summary)
A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
summary
- A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added,
updated, or deleted.public void setErrorMessage(String errorMessage)
If an error occurred, the error message associated with the crawl.
errorMessage
- If an error occurred, the error message associated with the crawl.public String getErrorMessage()
If an error occurred, the error message associated with the crawl.
public CrawlerHistory withErrorMessage(String errorMessage)
If an error occurred, the error message associated with the crawl.
errorMessage
- If an error occurred, the error message associated with the crawl.public void setLogGroup(String logGroup)
The log group associated with the crawl.
logGroup
- The log group associated with the crawl.public String getLogGroup()
The log group associated with the crawl.
public CrawlerHistory withLogGroup(String logGroup)
The log group associated with the crawl.
logGroup
- The log group associated with the crawl.public void setLogStream(String logStream)
The log stream associated with the crawl.
logStream
- The log stream associated with the crawl.public String getLogStream()
The log stream associated with the crawl.
public CrawlerHistory withLogStream(String logStream)
The log stream associated with the crawl.
logStream
- The log stream associated with the crawl.public void setMessagePrefix(String messagePrefix)
The prefix for a CloudWatch message about this crawl.
messagePrefix
- The prefix for a CloudWatch message about this crawl.public String getMessagePrefix()
The prefix for a CloudWatch message about this crawl.
public CrawlerHistory withMessagePrefix(String messagePrefix)
The prefix for a CloudWatch message about this crawl.
messagePrefix
- The prefix for a CloudWatch message about this crawl.public void setDPUHour(Double dPUHour)
The number of data processing units (DPU) used in hours for the crawl.
dPUHour
- The number of data processing units (DPU) used in hours for the crawl.public Double getDPUHour()
The number of data processing units (DPU) used in hours for the crawl.
public CrawlerHistory withDPUHour(Double dPUHour)
The number of data processing units (DPU) used in hours for the crawl.
dPUHour
- The number of data processing units (DPU) used in hours for the crawl.public String toString()
toString
in class Object
Object.toString()
public CrawlerHistory clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.