@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LastCrawlInfo extends Object implements Serializable, Cloneable, StructuredPojo
Status and error information about the most recent crawl.
Constructor and Description |
---|
LastCrawlInfo() |
Modifier and Type | Method and Description |
---|---|
LastCrawlInfo |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
Error information about the last crawl, if an error occurred.
|
String |
getLogGroup()
The log group for the last crawl.
|
String |
getLogStream()
The log stream for the last crawl.
|
String |
getMessagePrefix()
The prefix for a message about this crawl.
|
Date |
getStartTime()
The time at which the crawl started.
|
String |
getStatus()
Status of the last crawl.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage)
Error information about the last crawl, if an error occurred.
|
void |
setLogGroup(String logGroup)
The log group for the last crawl.
|
void |
setLogStream(String logStream)
The log stream for the last crawl.
|
void |
setMessagePrefix(String messagePrefix)
The prefix for a message about this crawl.
|
void |
setStartTime(Date startTime)
The time at which the crawl started.
|
void |
setStatus(String status)
Status of the last crawl.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LastCrawlInfo |
withErrorMessage(String errorMessage)
Error information about the last crawl, if an error occurred.
|
LastCrawlInfo |
withLogGroup(String logGroup)
The log group for the last crawl.
|
LastCrawlInfo |
withLogStream(String logStream)
The log stream for the last crawl.
|
LastCrawlInfo |
withMessagePrefix(String messagePrefix)
The prefix for a message about this crawl.
|
LastCrawlInfo |
withStartTime(Date startTime)
The time at which the crawl started.
|
LastCrawlInfo |
withStatus(LastCrawlStatus status)
Status of the last crawl.
|
LastCrawlInfo |
withStatus(String status)
Status of the last crawl.
|
public void setStatus(String status)
Status of the last crawl.
status
- Status of the last crawl.LastCrawlStatus
public String getStatus()
Status of the last crawl.
LastCrawlStatus
public LastCrawlInfo withStatus(String status)
Status of the last crawl.
status
- Status of the last crawl.LastCrawlStatus
public LastCrawlInfo withStatus(LastCrawlStatus status)
Status of the last crawl.
status
- Status of the last crawl.LastCrawlStatus
public void setErrorMessage(String errorMessage)
Error information about the last crawl, if an error occurred.
errorMessage
- Error information about the last crawl, if an error occurred.public String getErrorMessage()
Error information about the last crawl, if an error occurred.
public LastCrawlInfo withErrorMessage(String errorMessage)
Error information about the last crawl, if an error occurred.
errorMessage
- Error information about the last crawl, if an error occurred.public void setLogGroup(String logGroup)
The log group for the last crawl.
logGroup
- The log group for the last crawl.public String getLogGroup()
The log group for the last crawl.
public LastCrawlInfo withLogGroup(String logGroup)
The log group for the last crawl.
logGroup
- The log group for the last crawl.public void setLogStream(String logStream)
The log stream for the last crawl.
logStream
- The log stream for the last crawl.public String getLogStream()
The log stream for the last crawl.
public LastCrawlInfo withLogStream(String logStream)
The log stream for the last crawl.
logStream
- The log stream for the last crawl.public void setMessagePrefix(String messagePrefix)
The prefix for a message about this crawl.
messagePrefix
- The prefix for a message about this crawl.public String getMessagePrefix()
The prefix for a message about this crawl.
public LastCrawlInfo withMessagePrefix(String messagePrefix)
The prefix for a message about this crawl.
messagePrefix
- The prefix for a message about this crawl.public void setStartTime(Date startTime)
The time at which the crawl started.
startTime
- The time at which the crawl started.public Date getStartTime()
The time at which the crawl started.
public LastCrawlInfo withStartTime(Date startTime)
The time at which the crawl started.
startTime
- The time at which the crawl started.public String toString()
toString
in class Object
Object.toString()
public LastCrawlInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.