Interface UpdateRotationRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateRotationRequest.Builder,UpdateRotationRequest>, SdkBuilder<UpdateRotationRequest.Builder,UpdateRotationRequest>, SdkPojo, SdkRequest.Builder, SsmContactsRequest.Builder
Enclosing class:
UpdateRotationRequest

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

    • rotationId

      UpdateRotationRequest.Builder rotationId(String rotationId)

      The Amazon Resource Name (ARN) of the rotation to update.

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

      The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.

      The order in which you list the contacts is their shift order in the rotation schedule.

      Parameters:
      contactIds - The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.

      The order in which you list the contacts is their shift order in the rotation schedule.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contactIds

      UpdateRotationRequest.Builder contactIds(String... contactIds)

      The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.

      The order in which you list the contacts is their shift order in the rotation schedule.

      Parameters:
      contactIds - The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.

      The order in which you list the contacts is their shift order in the rotation schedule.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      UpdateRotationRequest.Builder startTime(Instant startTime)

      The date and time the rotation goes into effect.

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

      UpdateRotationRequest.Builder timeZoneId(String timeZoneId)

      The time zone to base the updated rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.

      Designators for time zones that don’t support Daylight Savings Time Rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), aren't supported.

      Parameters:
      timeZoneId - The time zone to base the updated rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.

      Designators for time zones that don’t support Daylight Savings Time Rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), aren't supported.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recurrence

      Information about how long the updated rotation lasts before restarting at the beginning of the shift order.

      Parameters:
      recurrence - Information about how long the updated 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

      Information about how long the updated 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:
    • overrideConfiguration

      UpdateRotationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.