Interface UpdateWorkerScheduleResponse.Builder

  • Method Details

    • assignedSessions

      UpdateWorkerScheduleResponse.Builder assignedSessions(Map<String,AssignedSession> assignedSessions)

      The assigned sessions to update.

      Parameters:
      assignedSessions - The assigned sessions to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cancelSessionActions

      UpdateWorkerScheduleResponse.Builder cancelSessionActions(Map<String,? extends Collection<String>> cancelSessionActions)

      The session actions associated with the worker schedule to cancel.

      Parameters:
      cancelSessionActions - The session actions associated with the worker schedule to cancel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • desiredWorkerStatus

      UpdateWorkerScheduleResponse.Builder desiredWorkerStatus(String desiredWorkerStatus)

      The status to update the worker to.

      Parameters:
      desiredWorkerStatus - The status to update the worker to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • desiredWorkerStatus

      UpdateWorkerScheduleResponse.Builder desiredWorkerStatus(DesiredWorkerStatus desiredWorkerStatus)

      The status to update the worker to.

      Parameters:
      desiredWorkerStatus - The status to update the worker to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateIntervalSeconds

      UpdateWorkerScheduleResponse.Builder updateIntervalSeconds(Integer updateIntervalSeconds)

      Updates the time interval (in seconds) for the schedule.

      Parameters:
      updateIntervalSeconds - Updates the time interval (in seconds) for the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.