Class ImportJob

    • Method Detail

      • addressListId

        public final String addressListId()

        The unique identifier of the address list the import job was created for.

        Returns:
        The unique identifier of the address list the import job was created for.
      • completedTimestamp

        public final Instant completedTimestamp()

        The timestamp of when the import job was completed.

        Returns:
        The timestamp of when the import job was completed.
      • createdTimestamp

        public final Instant createdTimestamp()

        The timestamp of when the import job was created.

        Returns:
        The timestamp of when the import job was created.
      • error

        public final String error()

        The reason for failure of an import job.

        Returns:
        The reason for failure of an import job.
      • failedItemsCount

        public final Integer failedItemsCount()

        The number of addresses in the input that failed to get imported into address list.

        Returns:
        The number of addresses in the input that failed to get imported into address list.
      • importDataFormat

        public final ImportDataFormat importDataFormat()

        The format of the input for the import job.

        Returns:
        The format of the input for the import job.
      • importedItemsCount

        public final Integer importedItemsCount()

        The number of addresses in the input that were successfully imported into the address list.

        Returns:
        The number of addresses in the input that were successfully imported into the address list.
      • jobId

        public final String jobId()

        The identifier of the import job.

        Returns:
        The identifier of the import job.
      • name

        public final String name()

        A user-friendly name for the import job.

        Returns:
        A user-friendly name for the import job.
      • preSignedUrl

        public final String preSignedUrl()

        The pre-signed URL target for uploading the input file.

        Returns:
        The pre-signed URL target for uploading the input file.
      • startTimestamp

        public final Instant startTimestamp()

        The timestamp of when the import job was started.

        Returns:
        The timestamp of when the import job was started.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)