Interface GetRotationResponse.Builder

  • Method Details

    • 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

      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

      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

      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.
    • recurrence

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

      This is a convenience method that creates an instance of the RecurrenceSettings.Builder avoiding the need to create one manually via RecurrenceSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recurrence(RecurrenceSettings).

      Parameters:
      recurrence - a consumer that will call methods on RecurrenceSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: