@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CrawlerMetrics extends Object implements Serializable, Cloneable, StructuredPojo
Metrics for a specified crawler.
Constructor and Description |
---|
CrawlerMetrics() |
Modifier and Type | Method and Description |
---|---|
CrawlerMetrics |
clone() |
boolean |
equals(Object obj) |
String |
getCrawlerName()
The name of the crawler.
|
Double |
getLastRuntimeSeconds()
The duration of the crawler's most recent run, in seconds.
|
Double |
getMedianRuntimeSeconds()
The median duration of this crawler's runs, in seconds.
|
Boolean |
getStillEstimating()
True if the crawler is still estimating how long it will take to complete this run.
|
Integer |
getTablesCreated()
The number of tables created by this crawler.
|
Integer |
getTablesDeleted()
The number of tables deleted by this crawler.
|
Integer |
getTablesUpdated()
The number of tables updated by this crawler.
|
Double |
getTimeLeftSeconds()
The estimated time left to complete a running crawl.
|
int |
hashCode() |
Boolean |
isStillEstimating()
True if the crawler is still estimating how long it will take to complete this run.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCrawlerName(String crawlerName)
The name of the crawler.
|
void |
setLastRuntimeSeconds(Double lastRuntimeSeconds)
The duration of the crawler's most recent run, in seconds.
|
void |
setMedianRuntimeSeconds(Double medianRuntimeSeconds)
The median duration of this crawler's runs, in seconds.
|
void |
setStillEstimating(Boolean stillEstimating)
True if the crawler is still estimating how long it will take to complete this run.
|
void |
setTablesCreated(Integer tablesCreated)
The number of tables created by this crawler.
|
void |
setTablesDeleted(Integer tablesDeleted)
The number of tables deleted by this crawler.
|
void |
setTablesUpdated(Integer tablesUpdated)
The number of tables updated by this crawler.
|
void |
setTimeLeftSeconds(Double timeLeftSeconds)
The estimated time left to complete a running crawl.
|
String |
toString()
Returns a string representation of this object.
|
CrawlerMetrics |
withCrawlerName(String crawlerName)
The name of the crawler.
|
CrawlerMetrics |
withLastRuntimeSeconds(Double lastRuntimeSeconds)
The duration of the crawler's most recent run, in seconds.
|
CrawlerMetrics |
withMedianRuntimeSeconds(Double medianRuntimeSeconds)
The median duration of this crawler's runs, in seconds.
|
CrawlerMetrics |
withStillEstimating(Boolean stillEstimating)
True if the crawler is still estimating how long it will take to complete this run.
|
CrawlerMetrics |
withTablesCreated(Integer tablesCreated)
The number of tables created by this crawler.
|
CrawlerMetrics |
withTablesDeleted(Integer tablesDeleted)
The number of tables deleted by this crawler.
|
CrawlerMetrics |
withTablesUpdated(Integer tablesUpdated)
The number of tables updated by this crawler.
|
CrawlerMetrics |
withTimeLeftSeconds(Double timeLeftSeconds)
The estimated time left to complete a running crawl.
|
public void setCrawlerName(String crawlerName)
The name of the crawler.
crawlerName
- The name of the crawler.public String getCrawlerName()
The name of the crawler.
public CrawlerMetrics withCrawlerName(String crawlerName)
The name of the crawler.
crawlerName
- The name of the crawler.public void setTimeLeftSeconds(Double timeLeftSeconds)
The estimated time left to complete a running crawl.
timeLeftSeconds
- The estimated time left to complete a running crawl.public Double getTimeLeftSeconds()
The estimated time left to complete a running crawl.
public CrawlerMetrics withTimeLeftSeconds(Double timeLeftSeconds)
The estimated time left to complete a running crawl.
timeLeftSeconds
- The estimated time left to complete a running crawl.public void setStillEstimating(Boolean stillEstimating)
True if the crawler is still estimating how long it will take to complete this run.
stillEstimating
- True if the crawler is still estimating how long it will take to complete this run.public Boolean getStillEstimating()
True if the crawler is still estimating how long it will take to complete this run.
public CrawlerMetrics withStillEstimating(Boolean stillEstimating)
True if the crawler is still estimating how long it will take to complete this run.
stillEstimating
- True if the crawler is still estimating how long it will take to complete this run.public Boolean isStillEstimating()
True if the crawler is still estimating how long it will take to complete this run.
public void setLastRuntimeSeconds(Double lastRuntimeSeconds)
The duration of the crawler's most recent run, in seconds.
lastRuntimeSeconds
- The duration of the crawler's most recent run, in seconds.public Double getLastRuntimeSeconds()
The duration of the crawler's most recent run, in seconds.
public CrawlerMetrics withLastRuntimeSeconds(Double lastRuntimeSeconds)
The duration of the crawler's most recent run, in seconds.
lastRuntimeSeconds
- The duration of the crawler's most recent run, in seconds.public void setMedianRuntimeSeconds(Double medianRuntimeSeconds)
The median duration of this crawler's runs, in seconds.
medianRuntimeSeconds
- The median duration of this crawler's runs, in seconds.public Double getMedianRuntimeSeconds()
The median duration of this crawler's runs, in seconds.
public CrawlerMetrics withMedianRuntimeSeconds(Double medianRuntimeSeconds)
The median duration of this crawler's runs, in seconds.
medianRuntimeSeconds
- The median duration of this crawler's runs, in seconds.public void setTablesCreated(Integer tablesCreated)
The number of tables created by this crawler.
tablesCreated
- The number of tables created by this crawler.public Integer getTablesCreated()
The number of tables created by this crawler.
public CrawlerMetrics withTablesCreated(Integer tablesCreated)
The number of tables created by this crawler.
tablesCreated
- The number of tables created by this crawler.public void setTablesUpdated(Integer tablesUpdated)
The number of tables updated by this crawler.
tablesUpdated
- The number of tables updated by this crawler.public Integer getTablesUpdated()
The number of tables updated by this crawler.
public CrawlerMetrics withTablesUpdated(Integer tablesUpdated)
The number of tables updated by this crawler.
tablesUpdated
- The number of tables updated by this crawler.public void setTablesDeleted(Integer tablesDeleted)
The number of tables deleted by this crawler.
tablesDeleted
- The number of tables deleted by this crawler.public Integer getTablesDeleted()
The number of tables deleted by this crawler.
public CrawlerMetrics withTablesDeleted(Integer tablesDeleted)
The number of tables deleted by this crawler.
tablesDeleted
- The number of tables deleted by this crawler.public String toString()
toString
in class Object
Object.toString()
public CrawlerMetrics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.