Interface RotationShift.Builder

    • Method Detail

      • contactIds

        RotationShift.Builder contactIds​(Collection<String> contactIds)

        The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.

        Parameters:
        contactIds - The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contactIds

        RotationShift.Builder contactIds​(String... contactIds)

        The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.

        Parameters:
        contactIds - The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        RotationShift.Builder startTime​(Instant startTime)

        The time a shift rotation begins.

        Parameters:
        startTime - The time a shift rotation begins.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        RotationShift.Builder endTime​(Instant endTime)

        The time a shift rotation ends.

        Parameters:
        endTime - The time a shift rotation ends.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        RotationShift.Builder type​(String type)

        The type of shift rotation.

        Parameters:
        type - The type of shift rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShiftType, ShiftType
      • type

        RotationShift.Builder type​(ShiftType type)

        The type of shift rotation.

        Parameters:
        type - The type of shift rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShiftType, ShiftType
      • shiftDetails

        RotationShift.Builder shiftDetails​(ShiftDetails shiftDetails)

        Additional information about an on-call rotation shift.

        Parameters:
        shiftDetails - Additional information about an on-call rotation shift.
        Returns:
        Returns a reference to this object so that method calls can be chained together.