JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.iotjobsdataplane.model

Class JobExecutionState

    • Constructor Detail

      • JobExecutionState

        public JobExecutionState()
    • Method Detail

      • setStatus

        public void setStatus(String status)

        The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

        Parameters:
        status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
        See Also:
        JobExecutionStatus
      • getStatus

        public String getStatus()

        The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

        Returns:
        The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
        See Also:
        JobExecutionStatus
      • withStatus

        public JobExecutionState withStatus(String status)

        The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

        Parameters:
        status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobExecutionStatus
      • withStatus

        public JobExecutionState withStatus(JobExecutionStatus status)

        The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

        Parameters:
        status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobExecutionStatus
      • getStatusDetails

        public Map<String,String> getStatusDetails()

        A collection of name/value pairs that describe the status of the job execution.

        Returns:
        A collection of name/value pairs that describe the status of the job execution.
      • setStatusDetails

        public void setStatusDetails(Map<String,String> statusDetails)

        A collection of name/value pairs that describe the status of the job execution.

        Parameters:
        statusDetails - A collection of name/value pairs that describe the status of the job execution.
      • withStatusDetails

        public JobExecutionState withStatusDetails(Map<String,String> statusDetails)

        A collection of name/value pairs that describe the status of the job execution.

        Parameters:
        statusDetails - A collection of name/value pairs that describe the status of the job execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearStatusDetailsEntries

        public JobExecutionState clearStatusDetailsEntries()
        Removes all the entries added into StatusDetails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVersionNumber

        public void setVersionNumber(Long versionNumber)

        The version of the job execution. Job execution versions are incremented each time they are updated by a device.

        Parameters:
        versionNumber - The version of the job execution. Job execution versions are incremented each time they are updated by a device.
      • getVersionNumber

        public Long getVersionNumber()

        The version of the job execution. Job execution versions are incremented each time they are updated by a device.

        Returns:
        The version of the job execution. Job execution versions are incremented each time they are updated by a device.
      • withVersionNumber

        public JobExecutionState withVersionNumber(Long versionNumber)

        The version of the job execution. Job execution versions are incremented each time they are updated by a device.

        Parameters:
        versionNumber - The version of the job execution. Job execution versions are incremented each time they are updated by a device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /