@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceSyncJob extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a data source synchronization job.
| Constructor and Description |
|---|
DataSourceSyncJob() |
| Modifier and Type | Method and Description |
|---|---|
DataSourceSyncJob |
clone() |
boolean |
equals(Object obj) |
String |
getDataSourceErrorCode()
If the reason that the synchronization failed is due to an error with the underlying data source, this field
contains a code that identifies the error.
|
Date |
getEndTime()
The Unix timestamp when the synchronization job completed.
|
String |
getErrorCode()
If the
Status field is set to FAILED, the ErrorCode field indicates the
reason the synchronization failed. |
String |
getErrorMessage()
If the
Status field is set to ERROR, the ErrorMessage field contains a
description of the error that caused the synchronization to fail. |
String |
getExecutionId()
A identifier for the synchronization job.
|
DataSourceSyncJobMetrics |
getMetrics()
Maps a batch delete document request to a specific data source sync job.
|
Date |
getStartTime()
The Unix timestamp when the synchronization job started.
|
String |
getStatus()
The execution status of the synchronization job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataSourceErrorCode(String dataSourceErrorCode)
If the reason that the synchronization failed is due to an error with the underlying data source, this field
contains a code that identifies the error.
|
void |
setEndTime(Date endTime)
The Unix timestamp when the synchronization job completed.
|
void |
setErrorCode(String errorCode)
If the
Status field is set to FAILED, the ErrorCode field indicates the
reason the synchronization failed. |
void |
setErrorMessage(String errorMessage)
If the
Status field is set to ERROR, the ErrorMessage field contains a
description of the error that caused the synchronization to fail. |
void |
setExecutionId(String executionId)
A identifier for the synchronization job.
|
void |
setMetrics(DataSourceSyncJobMetrics metrics)
Maps a batch delete document request to a specific data source sync job.
|
void |
setStartTime(Date startTime)
The Unix timestamp when the synchronization job started.
|
void |
setStatus(String status)
The execution status of the synchronization job.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceSyncJob |
withDataSourceErrorCode(String dataSourceErrorCode)
If the reason that the synchronization failed is due to an error with the underlying data source, this field
contains a code that identifies the error.
|
DataSourceSyncJob |
withEndTime(Date endTime)
The Unix timestamp when the synchronization job completed.
|
DataSourceSyncJob |
withErrorCode(ErrorCode errorCode)
If the
Status field is set to FAILED, the ErrorCode field indicates the
reason the synchronization failed. |
DataSourceSyncJob |
withErrorCode(String errorCode)
If the
Status field is set to FAILED, the ErrorCode field indicates the
reason the synchronization failed. |
DataSourceSyncJob |
withErrorMessage(String errorMessage)
If the
Status field is set to ERROR, the ErrorMessage field contains a
description of the error that caused the synchronization to fail. |
DataSourceSyncJob |
withExecutionId(String executionId)
A identifier for the synchronization job.
|
DataSourceSyncJob |
withMetrics(DataSourceSyncJobMetrics metrics)
Maps a batch delete document request to a specific data source sync job.
|
DataSourceSyncJob |
withStartTime(Date startTime)
The Unix timestamp when the synchronization job started.
|
DataSourceSyncJob |
withStatus(DataSourceSyncJobStatus status)
The execution status of the synchronization job.
|
DataSourceSyncJob |
withStatus(String status)
The execution status of the synchronization job.
|
public void setExecutionId(String executionId)
A identifier for the synchronization job.
executionId - A identifier for the synchronization job.public String getExecutionId()
A identifier for the synchronization job.
public DataSourceSyncJob withExecutionId(String executionId)
A identifier for the synchronization job.
executionId - A identifier for the synchronization job.public void setStartTime(Date startTime)
The Unix timestamp when the synchronization job started.
startTime - The Unix timestamp when the synchronization job started.public Date getStartTime()
The Unix timestamp when the synchronization job started.
public DataSourceSyncJob withStartTime(Date startTime)
The Unix timestamp when the synchronization job started.
startTime - The Unix timestamp when the synchronization job started.public void setEndTime(Date endTime)
The Unix timestamp when the synchronization job completed.
endTime - The Unix timestamp when the synchronization job completed.public Date getEndTime()
The Unix timestamp when the synchronization job completed.
public DataSourceSyncJob withEndTime(Date endTime)
The Unix timestamp when the synchronization job completed.
endTime - The Unix timestamp when the synchronization job completed.public void setStatus(String status)
The execution status of the synchronization job. When the Status field is set to
SUCCEEDED, the synchronization job is done. If the status code is set to FAILED, the
ErrorCode and ErrorMessage fields give you the reason for the failure.
status - The execution status of the synchronization job. When the Status field is set to
SUCCEEDED, the synchronization job is done. If the status code is set to FAILED,
the ErrorCode and ErrorMessage fields give you the reason for the failure.DataSourceSyncJobStatuspublic String getStatus()
The execution status of the synchronization job. When the Status field is set to
SUCCEEDED, the synchronization job is done. If the status code is set to FAILED, the
ErrorCode and ErrorMessage fields give you the reason for the failure.
Status field is set to
SUCCEEDED, the synchronization job is done. If the status code is set to FAILED
, the ErrorCode and ErrorMessage fields give you the reason for the failure.DataSourceSyncJobStatuspublic DataSourceSyncJob withStatus(String status)
The execution status of the synchronization job. When the Status field is set to
SUCCEEDED, the synchronization job is done. If the status code is set to FAILED, the
ErrorCode and ErrorMessage fields give you the reason for the failure.
status - The execution status of the synchronization job. When the Status field is set to
SUCCEEDED, the synchronization job is done. If the status code is set to FAILED,
the ErrorCode and ErrorMessage fields give you the reason for the failure.DataSourceSyncJobStatuspublic DataSourceSyncJob withStatus(DataSourceSyncJobStatus status)
The execution status of the synchronization job. When the Status field is set to
SUCCEEDED, the synchronization job is done. If the status code is set to FAILED, the
ErrorCode and ErrorMessage fields give you the reason for the failure.
status - The execution status of the synchronization job. When the Status field is set to
SUCCEEDED, the synchronization job is done. If the status code is set to FAILED,
the ErrorCode and ErrorMessage fields give you the reason for the failure.DataSourceSyncJobStatuspublic void setErrorMessage(String errorMessage)
If the Status field is set to ERROR, the ErrorMessage field contains a
description of the error that caused the synchronization to fail.
errorMessage - If the Status field is set to ERROR, the ErrorMessage field
contains a description of the error that caused the synchronization to fail.public String getErrorMessage()
If the Status field is set to ERROR, the ErrorMessage field contains a
description of the error that caused the synchronization to fail.
Status field is set to ERROR, the ErrorMessage field
contains a description of the error that caused the synchronization to fail.public DataSourceSyncJob withErrorMessage(String errorMessage)
If the Status field is set to ERROR, the ErrorMessage field contains a
description of the error that caused the synchronization to fail.
errorMessage - If the Status field is set to ERROR, the ErrorMessage field
contains a description of the error that caused the synchronization to fail.public void setErrorCode(String errorCode)
If the Status field is set to FAILED, the ErrorCode field indicates the
reason the synchronization failed.
errorCode - If the Status field is set to FAILED, the ErrorCode field indicates
the reason the synchronization failed.ErrorCodepublic String getErrorCode()
If the Status field is set to FAILED, the ErrorCode field indicates the
reason the synchronization failed.
Status field is set to FAILED, the ErrorCode field
indicates the reason the synchronization failed.ErrorCodepublic DataSourceSyncJob withErrorCode(String errorCode)
If the Status field is set to FAILED, the ErrorCode field indicates the
reason the synchronization failed.
errorCode - If the Status field is set to FAILED, the ErrorCode field indicates
the reason the synchronization failed.ErrorCodepublic DataSourceSyncJob withErrorCode(ErrorCode errorCode)
If the Status field is set to FAILED, the ErrorCode field indicates the
reason the synchronization failed.
errorCode - If the Status field is set to FAILED, the ErrorCode field indicates
the reason the synchronization failed.ErrorCodepublic void setDataSourceErrorCode(String dataSourceErrorCode)
If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.
dataSourceErrorCode - If the reason that the synchronization failed is due to an error with the underlying data source, this
field contains a code that identifies the error.public String getDataSourceErrorCode()
If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.
public DataSourceSyncJob withDataSourceErrorCode(String dataSourceErrorCode)
If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.
dataSourceErrorCode - If the reason that the synchronization failed is due to an error with the underlying data source, this
field contains a code that identifies the error.public void setMetrics(DataSourceSyncJobMetrics metrics)
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.
metrics - 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.public DataSourceSyncJobMetrics getMetrics()
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.
public DataSourceSyncJob withMetrics(DataSourceSyncJobMetrics metrics)
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.
metrics - 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.public String toString()
toString in class ObjectObject.toString()public DataSourceSyncJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.