Interface StartNextPendingJobExecutionRequest.Builder

    • Method Detail

      • thingName

        StartNextPendingJobExecutionRequest.Builder thingName​(String thingName)

        The name of the thing associated with the device.

        Parameters:
        thingName - The name of the thing associated with the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusDetails

        StartNextPendingJobExecutionRequest.Builder statusDetails​(Map<String,​String> statusDetails)

        A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.

        The maximum length of the value in the name/value pair is 1,024 characters.

        Parameters:
        statusDetails - A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.

        The maximum length of the value in the name/value pair is 1,024 characters.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stepTimeoutInMinutes

        StartNextPendingJobExecutionRequest.Builder stepTimeoutInMinutes​(Long stepTimeoutInMinutes)

        Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by calling UpdateJobExecution, setting the status to IN_PROGRESS, and specifying a new timeout value in field stepTimeoutInMinutes) the job execution status will be automatically set to TIMED_OUT. Note that setting the step timeout has no effect on the in progress timeout that may have been specified when the job was created (CreateJob using field timeoutConfig).

        Valid values for this parameter range from 1 to 10080 (1 minute to 7 days).

        Parameters:
        stepTimeoutInMinutes - Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by calling UpdateJobExecution, setting the status to IN_PROGRESS, and specifying a new timeout value in field stepTimeoutInMinutes) the job execution status will be automatically set to TIMED_OUT. Note that setting the step timeout has no effect on the in progress timeout that may have been specified when the job was created ( CreateJob using field timeoutConfig).

        Valid values for this parameter range from 1 to 10080 (1 minute to 7 days).

        Returns:
        Returns a reference to this object so that method calls can be chained together.