Class RecommendationExportJob

    • Method Detail

      • jobId

        public final String jobId()

        The identification number of the export job.

        Returns:
        The identification number of the export job.
      • destination

        public final ExportDestination destination()

        An object that describes the destination of the export file.

        Returns:
        An object that describes the destination of the export file.
      • statusAsString

        public final String statusAsString()

        The status of the export job.

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

        Returns:
        The status of the export job.
        See Also:
        JobStatus
      • creationTimestamp

        public final Instant creationTimestamp()

        The timestamp of when the export job was created.

        Returns:
        The timestamp of when the export job was created.
      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        The timestamp of when the export job was last updated.

        Returns:
        The timestamp of when the export job was last updated.
      • failureReason

        public final String failureReason()

        The reason for an export job failure.

        Returns:
        The reason for an export job failure.
      • 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)