Class IdMappingJobMetrics

java.lang.Object
software.amazon.awssdk.services.entityresolution.model.IdMappingJobMetrics
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<IdMappingJobMetrics.Builder,IdMappingJobMetrics>

@Generated("software.amazon.awssdk:codegen") public final class IdMappingJobMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdMappingJobMetrics.Builder,IdMappingJobMetrics>

An object that contains metrics about an ID mapping job, including counts of input records, processed records, and mapped records between source and target identifiers.

See Also:
  • Method Details

    • inputRecords

      public final Integer inputRecords()

      The total number of records that were input for processing.

      Returns:
      The total number of records that were input for processing.
    • totalRecordsProcessed

      public final Integer totalRecordsProcessed()

      The total number of records that were processed.

      Returns:
      The total number of records that were processed.
    • recordsNotProcessed

      public final Integer recordsNotProcessed()

      The total number of records that did not get processed.

      Returns:
      The total number of records that did not get processed.
    • deleteRecordsProcessed

      public final Integer deleteRecordsProcessed()

      The number of records processed that were marked for deletion in the input file using the DELETE schema mapping field. These are the records to be removed from the ID mapping table.

      Returns:
      The number of records processed that were marked for deletion in the input file using the DELETE schema mapping field. These are the records to be removed from the ID mapping table.
    • totalMappedRecords

      public final Integer totalMappedRecords()

      The total number of records that were mapped.

      Returns:
      The total number of records that were mapped.
    • totalMappedSourceRecords

      public final Integer totalMappedSourceRecords()

      The total number of mapped source records.

      Returns:
      The total number of mapped source records.
    • totalMappedTargetRecords

      public final Integer totalMappedTargetRecords()

      The total number of distinct mapped target records.

      Returns:
      The total number of distinct mapped target records.
    • uniqueRecordsLoaded

      public final Integer uniqueRecordsLoaded()

      The number of de-duplicated processed records across all runs, excluding deletion-related records. Duplicates are determined by the field marked as UNIQUE_ID in your schema mapping. Records sharing the same value in this field are considered duplicates. For example, if you specified "customer_id" as a UNIQUE_ID field and had three records with the same customer_id value, they would count as one unique record in this metric.

      Returns:
      The number of de-duplicated processed records across all runs, excluding deletion-related records. Duplicates are determined by the field marked as UNIQUE_ID in your schema mapping. Records sharing the same value in this field are considered duplicates. For example, if you specified "customer_id" as a UNIQUE_ID field and had three records with the same customer_id value, they would count as one unique record in this metric.
    • newMappedRecords

      public final Integer newMappedRecords()

      The number of new mapped records.

      Returns:
      The number of new mapped records.
    • newMappedSourceRecords

      public final Integer newMappedSourceRecords()

      The number of new source records mapped.

      Returns:
      The number of new source records mapped.
    • newMappedTargetRecords

      public final Integer newMappedTargetRecords()

      The number of new mapped target records.

      Returns:
      The number of new mapped target records.
    • newUniqueRecordsLoaded

      public final Integer newUniqueRecordsLoaded()

      The number of new unique records processed in the current job run, after removing duplicates. This metric excludes deletion-related records. Duplicates are determined by the field marked as UNIQUE_ID in your schema mapping. Records sharing the same value in this field are considered duplicates. For example, if your current run processes five new records with the same UNIQUE_ID value, they would count as one new unique record in this metric.

      Returns:
      The number of new unique records processed in the current job run, after removing duplicates. This metric excludes deletion-related records. Duplicates are determined by the field marked as UNIQUE_ID in your schema mapping. Records sharing the same value in this field are considered duplicates. For example, if your current run processes five new records with the same UNIQUE_ID value, they would count as one new unique record in this metric.
    • mappedRecordsRemoved

      public final Integer mappedRecordsRemoved()

      The number of mapped records removed.

      Returns:
      The number of mapped records removed.
    • mappedSourceRecordsRemoved

      public final Integer mappedSourceRecordsRemoved()

      The number of source records removed due to ID mapping.

      Returns:
      The number of source records removed due to ID mapping.
    • mappedTargetRecordsRemoved

      public final Integer mappedTargetRecordsRemoved()

      The number of mapped target records removed.

      Returns:
      The number of mapped target records removed.
    • toBuilder

      public IdMappingJobMetrics.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<IdMappingJobMetrics.Builder,IdMappingJobMetrics>
      Returns:
      a builder for type T
    • builder

      public static IdMappingJobMetrics.Builder builder()
    • serializableBuilderClass

      public static Class<? extends IdMappingJobMetrics.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in 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

      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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.