Interface GetRotationResponse.Builder

    • Method Detail

      • rotationArn

        GetRotationResponse.Builder rotationArn​(String rotationArn)

        The Amazon Resource Name (ARN) of the on-call rotation.

        Parameters:
        rotationArn - The Amazon Resource Name (ARN) of the on-call rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        GetRotationResponse.Builder name​(String name)

        The name of the on-call rotation.

        Parameters:
        name - The name of the on-call rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contactIds

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

        The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.

        Parameters:
        contactIds - The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contactIds

        GetRotationResponse.Builder contactIds​(String... contactIds)

        The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.

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

        GetRotationResponse.Builder startTime​(Instant startTime)

        The specified start time for the on-call rotation.

        Parameters:
        startTime - The specified start time for the on-call rotation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeZoneId

        GetRotationResponse.Builder timeZoneId​(String timeZoneId)

        The time zone that the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format.

        Parameters:
        timeZoneId - The time zone that the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recurrence

        GetRotationResponse.Builder recurrence​(RecurrenceSettings recurrence)

        Specifies how long a rotation lasts before restarting at the beginning of the shift order.

        Parameters:
        recurrence - Specifies how long a rotation lasts before restarting at the beginning of the shift order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.