Class DataSourceSyncJob
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<DataSourceSyncJob.Builder,- DataSourceSyncJob> 
Provides information about an Amazon Q Business data source connector synchronization job.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic DataSourceSyncJob.Builderbuilder()final StringIf 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.final InstantendTime()The Unix timestamp when the synchronization job completed.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ErrorDetailerror()If theStatusfield is set toFAILED, theErrorCodefield indicates the reason the synchronization failed.final StringThe identifier of a data source synchronization job.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final DataSourceSyncJobMetricsmetrics()Maps a batch delete document request to a specific data source sync job.static Class<? extends DataSourceSyncJob.Builder> final InstantThe Unix time stamp when the data source synchronization job started.final DataSourceSyncJobStatusstatus()The status of the synchronization job.final StringThe status of the synchronization job.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
executionIdThe identifier of a data source synchronization job. - Returns:
- The identifier of a data source synchronization job.
 
- 
startTimeThe Unix time stamp when the data source synchronization job started. - Returns:
- The Unix time stamp when the data source synchronization job started.
 
- 
endTimeThe Unix timestamp when the synchronization job completed. - Returns:
- The Unix timestamp when the synchronization job completed.
 
- 
statusThe status of the synchronization job. When the Statusfield is set toSUCCEEDED, the synchronization job is done. If the status code isFAILED, theErrorCodeandErrorMessagefields give you the reason for the failure.If the service returns an enum value that is not available in the current SDK version, statuswill returnDataSourceSyncJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the synchronization job. When the Statusfield is set toSUCCEEDED, the synchronization job is done. If the status code isFAILED, theErrorCodeandErrorMessagefields give you the reason for the failure.
- See Also:
 
- 
statusAsStringThe status of the synchronization job. When the Statusfield is set toSUCCEEDED, the synchronization job is done. If the status code isFAILED, theErrorCodeandErrorMessagefields give you the reason for the failure.If the service returns an enum value that is not available in the current SDK version, statuswill returnDataSourceSyncJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the synchronization job. When the Statusfield is set toSUCCEEDED, the synchronization job is done. If the status code isFAILED, theErrorCodeandErrorMessagefields give you the reason for the failure.
- See Also:
 
- 
errorIf the Statusfield is set toFAILED, theErrorCodefield indicates the reason the synchronization failed.- Returns:
- If the Statusfield is set toFAILED, theErrorCodefield indicates the reason the synchronization failed.
 
- 
dataSourceErrorCodeIf 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. - Returns:
- 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.
 
- 
metricsMaps 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. - Returns:
- 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.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<DataSourceSyncJob.Builder,- DataSourceSyncJob> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-