Class JobSummary

    • Method Detail

      • id

        public final String id()

        The ID of the job.

        Returns:
        The ID of the job.
      • name

        public final String name()

        The unique name that helps identify the job request.

        Returns:
        The unique name that helps identify the job request.
      • status

        public final JobStatus status()

        The status of the bulk import job can be one of following values:

        • PENDING – IoT SiteWise is waiting for the current bulk import job to finish.

        • CANCELLED – The bulk import job has been canceled.

        • RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.

        • COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.

        • FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

        • COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

        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 bulk import job can be one of following values:

        • PENDING – IoT SiteWise is waiting for the current bulk import job to finish.

        • CANCELLED – The bulk import job has been canceled.

        • RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.

        • COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.

        • FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

        • COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

        See Also:
        JobStatus
      • statusAsString

        public final String statusAsString()

        The status of the bulk import job can be one of following values:

        • PENDING – IoT SiteWise is waiting for the current bulk import job to finish.

        • CANCELLED – The bulk import job has been canceled.

        • RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.

        • COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.

        • FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

        • COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

        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 bulk import job can be one of following values:

        • PENDING – IoT SiteWise is waiting for the current bulk import job to finish.

        • CANCELLED – The bulk import job has been canceled.

        • RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.

        • COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.

        • FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

        • COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

        See Also:
        JobStatus
      • 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)