Class DataSourceSyncJobMetrics
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.DataSourceSyncJobMetrics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceSyncJobMetrics.Builder,DataSourceSyncJobMetrics>
@Generated("software.amazon.awssdk:codegen") public final class DataSourceSyncJobMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceSyncJobMetrics.Builder,DataSourceSyncJobMetrics>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceSyncJobMetrics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSourceSyncJobMetrics.Builderbuilder()StringdocumentsAdded()The number of documents added from the data source up to now in the data source sync.StringdocumentsDeleted()The number of documents deleted from the data source up to now in the data source sync run.StringdocumentsFailed()The number of documents that failed to sync from the data source up to now in the data source sync run.StringdocumentsModified()The number of documents modified in the data source up to now in the data source sync run.StringdocumentsScanned()The current number of documents crawled by the current sync job in the data source.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DataSourceSyncJobMetrics.Builder>serializableBuilderClass()DataSourceSyncJobMetrics.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
documentsAdded
public final String documentsAdded()
The number of documents added from the data source up to now in the data source sync.
- Returns:
- The number of documents added from the data source up to now in the data source sync.
-
documentsModified
public final String documentsModified()
The number of documents modified in the data source up to now in the data source sync run.
- Returns:
- The number of documents modified in the data source up to now in the data source sync run.
-
documentsDeleted
public final String documentsDeleted()
The number of documents deleted from the data source up to now in the data source sync run.
- Returns:
- The number of documents deleted from the data source up to now in the data source sync run.
-
documentsFailed
public final String documentsFailed()
The number of documents that failed to sync from the data source up to now in the data source sync run.
- Returns:
- The number of documents that failed to sync from the data source up to now in the data source sync run.
-
documentsScanned
public final String documentsScanned()
The current number of documents crawled by the current sync job in the data source.
- Returns:
- The current number of documents crawled by the current sync job in the data source.
-
toBuilder
public DataSourceSyncJobMetrics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceSyncJobMetrics.Builder,DataSourceSyncJobMetrics>
-
builder
public static DataSourceSyncJobMetrics.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceSyncJobMetrics.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-