Class JobListDescriptor

    • Method Detail

      • jobId

        public final String jobId()

        The ID for the specified job.

        Returns:
        The ID for the specified job.
      • description

        public final String description()

        The user-specified description that was included in the specified job's Create Job request.

        Returns:
        The user-specified description that was included in the specified job's Create Job request.
      • operation

        public final OperationName operation()

        The operation that the specified job is configured to run on every object listed in the manifest.

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

        Returns:
        The operation that the specified job is configured to run on every object listed in the manifest.
        See Also:
        OperationName
      • operationAsString

        public final String operationAsString()

        The operation that the specified job is configured to run on every object listed in the manifest.

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

        Returns:
        The operation that the specified job is configured to run on every object listed in the manifest.
        See Also:
        OperationName
      • priority

        public final Integer priority()

        The current priority for the specified job.

        Returns:
        The current priority for the specified job.
      • statusAsString

        public final String statusAsString()

        The specified job's current status.

        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 specified job's current status.
        See Also:
        JobStatus
      • creationTime

        public final Instant creationTime()

        A timestamp indicating when the specified job was created.

        Returns:
        A timestamp indicating when the specified job was created.
      • terminationDate

        public final Instant terminationDate()

        A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.

        Returns:
        A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
      • progressSummary

        public final JobProgressSummary progressSummary()

        Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.

        Returns:
        Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.
      • 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)