Class CancelJobRequest

    • Method Detail

      • jobId

        public final String jobId()

        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.
      • reasonCode

        public final String reasonCode()

        (Optional)A reason code string that explains why the job was canceled.

        Returns:
        (Optional)A reason code string that explains why the job was canceled.
      • comment

        public final String comment()

        An optional comment string describing why the job was canceled.

        Returns:
        An optional comment string describing why the job was canceled.
      • force

        public final Boolean force()

        (Optional) If true job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise only job executions with status "QUEUED" are canceled. The default is false.

        Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.

        Returns:
        (Optional) If true job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise only job executions with status "QUEUED" are canceled. The default is false.

        Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.

      • 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