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 JobExecution

    • Constructor Detail

      • JobExecution

        public JobExecution()
    • Method Detail

      • setJobId

        public void setJobId(String jobId)

        The unique identifier you assigned to this job when it was created.

        Parameters:
        jobId - The unique identifier you assigned to this job when it was created.
      • getJobId

        public String getJobId()

        The unique identifier you assigned to this job when it was created.

        Returns:
        The unique identifier you assigned to this job when it was created.
      • withJobId

        public JobExecution withJobId(String jobId)

        The unique identifier you assigned to this job when it was created.

        Parameters:
        jobId - The unique identifier you assigned to this job when it was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setThingName

        public void setThingName(String thingName)

        The name of the thing that is executing the job.

        Parameters:
        thingName - The name of the thing that is executing the job.
      • getThingName

        public String getThingName()

        The name of the thing that is executing the job.

        Returns:
        The name of the thing that is executing the job.
      • withThingName

        public JobExecution withThingName(String thingName)

        The name of the thing that is executing the job.

        Parameters:
        thingName - The name of the thing that is executing the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 JobExecution 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 JobExecution 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 JobExecution 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 JobExecution clearStatusDetailsEntries()
        Removes all the entries added into StatusDetails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setQueuedAt

        public void setQueuedAt(Long queuedAt)

        The time, in milliseconds since the epoch, when the job execution was enqueued.

        Parameters:
        queuedAt - The time, in milliseconds since the epoch, when the job execution was enqueued.
      • getQueuedAt

        public Long getQueuedAt()

        The time, in milliseconds since the epoch, when the job execution was enqueued.

        Returns:
        The time, in milliseconds since the epoch, when the job execution was enqueued.
      • withQueuedAt

        public JobExecution withQueuedAt(Long queuedAt)

        The time, in milliseconds since the epoch, when the job execution was enqueued.

        Parameters:
        queuedAt - The time, in milliseconds since the epoch, when the job execution was enqueued.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStartedAt

        public void setStartedAt(Long startedAt)

        The time, in milliseconds since the epoch, when the job execution was started.

        Parameters:
        startedAt - The time, in milliseconds since the epoch, when the job execution was started.
      • getStartedAt

        public Long getStartedAt()

        The time, in milliseconds since the epoch, when the job execution was started.

        Returns:
        The time, in milliseconds since the epoch, when the job execution was started.
      • withStartedAt

        public JobExecution withStartedAt(Long startedAt)

        The time, in milliseconds since the epoch, when the job execution was started.

        Parameters:
        startedAt - The time, in milliseconds since the epoch, when the job execution was started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastUpdatedAt

        public void setLastUpdatedAt(Long lastUpdatedAt)

        The time, in milliseconds since the epoch, when the job execution was last updated.

        Parameters:
        lastUpdatedAt - The time, in milliseconds since the epoch, when the job execution was last updated.
      • getLastUpdatedAt

        public Long getLastUpdatedAt()

        The time, in milliseconds since the epoch, when the job execution was last updated.

        Returns:
        The time, in milliseconds since the epoch, when the job execution was last updated.
      • withLastUpdatedAt

        public JobExecution withLastUpdatedAt(Long lastUpdatedAt)

        The time, in milliseconds since the epoch, when the job execution was last updated.

        Parameters:
        lastUpdatedAt - The time, in milliseconds since the epoch, when the job execution was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setApproximateSecondsBeforeTimedOut

        public void setApproximateSecondsBeforeTimedOut(Long approximateSecondsBeforeTimedOut)

        The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.

        Parameters:
        approximateSecondsBeforeTimedOut - The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.
      • getApproximateSecondsBeforeTimedOut

        public Long getApproximateSecondsBeforeTimedOut()

        The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.

        Returns:
        The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.
      • withApproximateSecondsBeforeTimedOut

        public JobExecution withApproximateSecondsBeforeTimedOut(Long approximateSecondsBeforeTimedOut)

        The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.

        Parameters:
        approximateSecondsBeforeTimedOut - The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.
        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 JobExecution 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.
      • setExecutionNumber

        public void setExecutionNumber(Long executionNumber)

        A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.

        Parameters:
        executionNumber - A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
      • getExecutionNumber

        public Long getExecutionNumber()

        A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.

        Returns:
        A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
      • withExecutionNumber

        public JobExecution withExecutionNumber(Long executionNumber)

        A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.

        Parameters:
        executionNumber - A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setJobDocument

        public void setJobDocument(String jobDocument)

        The content of the job document.

        Parameters:
        jobDocument - The content of the job document.
      • getJobDocument

        public String getJobDocument()

        The content of the job document.

        Returns:
        The content of the job document.
      • withJobDocument

        public JobExecution withJobDocument(String jobDocument)

        The content of the job document.

        Parameters:
        jobDocument - The content of the job document.
        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 によって変換されたページ (->オリジナル) /