Interface ScheduleActionError.Builder

  • Method Details

    • errorCode

      ScheduleActionError.Builder errorCode(String errorCode)

      The type of failure. Valid values are the following:

      INVALID_ACTION_TARGET

      The action referred to something that didn't exist or wasn't valid at the scheduled time, for example an output that you deleted.

      INTERNAL_ERROR

      An unexpected error prevented the action from completing.

      Parameters:
      errorCode - The type of failure. Valid values are the following:

      INVALID_ACTION_TARGET

      The action referred to something that didn't exist or wasn't valid at the scheduled time, for example an output that you deleted.

      INTERNAL_ERROR

      An unexpected error prevented the action from completing.

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

      The type of failure. Valid values are the following:

      INVALID_ACTION_TARGET

      The action referred to something that didn't exist or wasn't valid at the scheduled time, for example an output that you deleted.

      INTERNAL_ERROR

      An unexpected error prevented the action from completing.

      Parameters:
      errorCode - The type of failure. Valid values are the following:

      INVALID_ACTION_TARGET

      The action referred to something that didn't exist or wasn't valid at the scheduled time, for example an output that you deleted.

      INTERNAL_ERROR

      An unexpected error prevented the action from completing.

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

      ScheduleActionError.Builder errorMessage(String errorMessage)

      A description of the failure.

      Parameters:
      errorMessage - A description of the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.