@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceSyncJobMetrics extends Object implements Serializable, Cloneable, StructuredPojo
Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.
Constructor and Description |
---|
DataSourceSyncJobMetrics() |
Modifier and Type | Method and Description |
---|---|
DataSourceSyncJobMetrics |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentsAdded()
The number of documents added from the data source up to now in the data source sync.
|
String |
getDocumentsDeleted()
The number of documents deleted from the data source up to now in the data source sync run.
|
String |
getDocumentsFailed()
The number of documents that failed to sync from the data source up to now in the data source sync run.
|
String |
getDocumentsModified()
The number of documents modified in the data source up to now in the data source sync run.
|
String |
getDocumentsScanned()
The current number of documents crawled by the current sync job in the data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocumentsAdded(String documentsAdded)
The number of documents added from the data source up to now in the data source sync.
|
void |
setDocumentsDeleted(String documentsDeleted)
The number of documents deleted from the data source up to now in the data source sync run.
|
void |
setDocumentsFailed(String documentsFailed)
The number of documents that failed to sync from the data source up to now in the data source sync run.
|
void |
setDocumentsModified(String documentsModified)
The number of documents modified in the data source up to now in the data source sync run.
|
void |
setDocumentsScanned(String documentsScanned)
The current number of documents crawled by the current sync job in the data source.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceSyncJobMetrics |
withDocumentsAdded(String documentsAdded)
The number of documents added from the data source up to now in the data source sync.
|
DataSourceSyncJobMetrics |
withDocumentsDeleted(String documentsDeleted)
The number of documents deleted from the data source up to now in the data source sync run.
|
DataSourceSyncJobMetrics |
withDocumentsFailed(String documentsFailed)
The number of documents that failed to sync from the data source up to now in the data source sync run.
|
DataSourceSyncJobMetrics |
withDocumentsModified(String documentsModified)
The number of documents modified in the data source up to now in the data source sync run.
|
DataSourceSyncJobMetrics |
withDocumentsScanned(String documentsScanned)
The current number of documents crawled by the current sync job in the data source.
|
public void setDocumentsAdded(String documentsAdded)
The number of documents added from the data source up to now in the data source sync.
documentsAdded
- The number of documents added from the data source up to now in the data source sync.public String getDocumentsAdded()
The number of documents added from the data source up to now in the data source sync.
public DataSourceSyncJobMetrics withDocumentsAdded(String documentsAdded)
The number of documents added from the data source up to now in the data source sync.
documentsAdded
- The number of documents added from the data source up to now in the data source sync.public void setDocumentsModified(String documentsModified)
The number of documents modified in the data source up to now in the data source sync run.
documentsModified
- The number of documents modified in the data source up to now in the data source sync run.public String getDocumentsModified()
The number of documents modified in the data source up to now in the data source sync run.
public DataSourceSyncJobMetrics withDocumentsModified(String documentsModified)
The number of documents modified in the data source up to now in the data source sync run.
documentsModified
- The number of documents modified in the data source up to now in the data source sync run.public void setDocumentsDeleted(String documentsDeleted)
The number of documents deleted from the data source up to now in the data source sync run.
documentsDeleted
- The number of documents deleted from the data source up to now in the data source sync run.public String getDocumentsDeleted()
The number of documents deleted from the data source up to now in the data source sync run.
public DataSourceSyncJobMetrics withDocumentsDeleted(String documentsDeleted)
The number of documents deleted from the data source up to now in the data source sync run.
documentsDeleted
- The number of documents deleted from the data source up to now in the data source sync run.public void setDocumentsFailed(String documentsFailed)
The number of documents that failed to sync from the data source up to now in the data source sync run.
documentsFailed
- The number of documents that failed to sync from the data source up to now in the data source sync run.public String getDocumentsFailed()
The number of documents that failed to sync from the data source up to now in the data source sync run.
public DataSourceSyncJobMetrics withDocumentsFailed(String documentsFailed)
The number of documents that failed to sync from the data source up to now in the data source sync run.
documentsFailed
- The number of documents that failed to sync from the data source up to now in the data source sync run.public void setDocumentsScanned(String documentsScanned)
The current number of documents crawled by the current sync job in the data source.
documentsScanned
- The current number of documents crawled by the current sync job in the data source.public String getDocumentsScanned()
The current number of documents crawled by the current sync job in the data source.
public DataSourceSyncJobMetrics withDocumentsScanned(String documentsScanned)
The current number of documents crawled by the current sync job in the data source.
documentsScanned
- The current number of documents crawled by the current sync job in the data source.public String toString()
toString
in class Object
Object.toString()
public DataSourceSyncJobMetrics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.