Interface Rotation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Rotation.Builder,Rotation>, SdkBuilder<Rotation.Builder,Rotation>, SdkPojo
Enclosing class:
Rotation

public static interface Rotation.Builder extends SdkPojo, CopyableBuilder<Rotation.Builder,Rotation>
  • Method Details

    • rotationArn

      Rotation.Builder rotationArn(String rotationArn)

      The Amazon Resource Name (ARN) of the rotation.

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

      The name of the rotation.

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

      Rotation.Builder contactIds(Collection<String> contactIds)

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

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

      Rotation.Builder contactIds(String... contactIds)

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

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

      Rotation.Builder startTime(Instant startTime)

      The date and time the rotation becomes active.

      Parameters:
      startTime - The date and time the rotation becomes active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeZoneId

      Rotation.Builder timeZoneId(String timeZoneId)

      The time zone the rotation’s activity is 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 is 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

      Rotation.Builder recurrence(RecurrenceSettings recurrence)

      Information about when an on-call rotation is in effect and how long the rotation period lasts.

      Parameters:
      recurrence - Information about when an on-call rotation is in effect and how long the rotation period lasts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recurrence

      default Rotation.Builder recurrence(Consumer<RecurrenceSettings.Builder> recurrence)

      Information about when an on-call rotation is in effect and how long the rotation period lasts.

      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: