Interface ListPreviewRotationShiftsRequest.Builder

    • Method Detail

      • rotationStartTime

        ListPreviewRotationShiftsRequest.Builder rotationStartTime​(Instant rotationStartTime)

        The date and time a rotation would begin. The first shift is calculated from this date and time.

        Parameters:
        rotationStartTime - The date and time a rotation would begin. The first shift is calculated from this date and time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        ListPreviewRotationShiftsRequest.Builder startTime​(Instant startTime)

        Used to filter the range of calculated shifts before sending the response back to the user.

        Parameters:
        startTime - Used to filter the range of calculated shifts before sending the response back to the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        ListPreviewRotationShiftsRequest.Builder endTime​(Instant endTime)

        The date and time a rotation shift would end.

        Parameters:
        endTime - The date and time a rotation shift would end.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • members

        ListPreviewRotationShiftsRequest.Builder members​(Collection<String> members)

        The contacts that would be assigned to a rotation.

        Parameters:
        members - The contacts that would be assigned to a rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • members

        ListPreviewRotationShiftsRequest.Builder members​(String... members)

        The contacts that would be assigned to a rotation.

        Parameters:
        members - The contacts that would be assigned to a rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeZoneId

        ListPreviewRotationShiftsRequest.Builder timeZoneId​(String timeZoneId)

        The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".

        Parameters:
        timeZoneId - The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recurrence

        ListPreviewRotationShiftsRequest.Builder recurrence​(RecurrenceSettings recurrence)

        Information about how long a rotation would last before restarting at the beginning of the shift order.

        Parameters:
        recurrence - Information about how long a rotation would last before restarting at the beginning of the shift order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • overrides

        ListPreviewRotationShiftsRequest.Builder overrides​(Collection<PreviewOverride> overrides)

        Information about changes that would be made in a rotation override.

        Parameters:
        overrides - Information about changes that would be made in a rotation override.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • overrides

        ListPreviewRotationShiftsRequest.Builder overrides​(PreviewOverride... overrides)

        Information about changes that would be made in a rotation override.

        Parameters:
        overrides - Information about changes that would be made in a rotation override.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListPreviewRotationShiftsRequest.Builder nextToken​(String nextToken)

        A token to start the list. This token is used to get the next set of results.

        Parameters:
        nextToken - A token to start the list. This token is used to get the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListPreviewRotationShiftsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of items to return for this call. The call also returns a token that can be specified in a subsequent call to get the next set of results.

        Parameters:
        maxResults - The maximum number of items to return for this call. The call also returns a token that can be specified in a subsequent call to get the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.