@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceSyncJob extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a 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 datetime that the synchronization job was completed.
|
String |
getErrorCode()
If the
Status field is set to FAILED, the ErrorCode field contains a the
reason that 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 unique identifier for the synchronization job.
|
Date |
getStartTime()
The UNIX datetime that the synchronization job was started.
|
String |
getStatus()
The execution status of the synchronization job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 datetime that the synchronization job was completed.
|
void |
setErrorCode(String errorCode)
If the
Status field is set to FAILED, the ErrorCode field contains a the
reason that 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 unique identifier for the synchronization job.
|
void |
setStartTime(Date startTime)
The UNIX datetime that the synchronization job was 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 datetime that the synchronization job was completed.
|
DataSourceSyncJob |
withErrorCode(ErrorCode errorCode)
If the
Status field is set to FAILED, the ErrorCode field contains a the
reason that the synchronization failed. |
DataSourceSyncJob |
withErrorCode(String errorCode)
If the
Status field is set to FAILED, the ErrorCode field contains a the
reason that 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 unique identifier for the synchronization job.
|
DataSourceSyncJob |
withStartTime(Date startTime)
The UNIX datetime that the synchronization job was 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 unique identifier for the synchronization job.
executionId - A unique identifier for the synchronization job.public String getExecutionId()
A unique identifier for the synchronization job.
public DataSourceSyncJob withExecutionId(String executionId)
A unique identifier for the synchronization job.
executionId - A unique identifier for the synchronization job.public void setStartTime(Date startTime)
The UNIX datetime that the synchronization job was started.
startTime - The UNIX datetime that the synchronization job was started.public Date getStartTime()
The UNIX datetime that the synchronization job was started.
public DataSourceSyncJob withStartTime(Date startTime)
The UNIX datetime that the synchronization job was started.
startTime - The UNIX datetime that the synchronization job was started.public void setEndTime(Date endTime)
The UNIX datetime that the synchronization job was completed.
endTime - The UNIX datetime that the synchronization job was completed.public Date getEndTime()
The UNIX datetime that the synchronization job was completed.
public DataSourceSyncJob withEndTime(Date endTime)
The UNIX datetime that the synchronization job was completed.
endTime - The UNIX datetime that the synchronization job was 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 contains a the
reason that the synchronization failed.
errorCode - If the Status field is set to FAILED, the ErrorCode field contains
a the reason that the synchronization failed.ErrorCodepublic String getErrorCode()
If the Status field is set to FAILED, the ErrorCode field contains a the
reason that the synchronization failed.
Status field is set to FAILED, the ErrorCode field contains
a the reason that the synchronization failed.ErrorCodepublic DataSourceSyncJob withErrorCode(String errorCode)
If the Status field is set to FAILED, the ErrorCode field contains a the
reason that the synchronization failed.
errorCode - If the Status field is set to FAILED, the ErrorCode field contains
a the reason that the synchronization failed.ErrorCodepublic DataSourceSyncJob withErrorCode(ErrorCode errorCode)
If the Status field is set to FAILED, the ErrorCode field contains a the
reason that the synchronization failed.
errorCode - If the Status field is set to FAILED, the ErrorCode field contains
a the reason that 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 String toString()
toString in class ObjectObject.toString()public DataSourceSyncJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.