Class CancelImportTaskResponse

    • Method Detail

      • importId

        public final String importId()

        The ID of the cancelled import task.

        Returns:
        The ID of the cancelled import task.
      • importStatistics

        public final ImportStatistics importStatistics()

        Statistics about the import progress at the time of cancellation.

        Returns:
        Statistics about the import progress at the time of cancellation.
      • importStatus

        public final ImportStatus importStatus()

        The final status of the import task. This will be set to CANCELLED.

        If the service returns an enum value that is not available in the current SDK version, importStatus will return ImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from importStatusAsString().

        Returns:
        The final status of the import task. This will be set to CANCELLED.
        See Also:
        ImportStatus
      • importStatusAsString

        public final String importStatusAsString()

        The final status of the import task. This will be set to CANCELLED.

        If the service returns an enum value that is not available in the current SDK version, importStatus will return ImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from importStatusAsString().

        Returns:
        The final status of the import task. This will be set to CANCELLED.
        See Also:
        ImportStatus
      • creationTime

        public final Long creationTime()

        The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Returns:
        The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      • lastUpdatedTime

        public final Long lastUpdatedTime()

        The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Returns:
        The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      • 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