Interface CreateRotationOverrideRequest.Builder

    • Method Detail

      • rotationId

        CreateRotationOverrideRequest.Builder rotationId​(String rotationId)

        The Amazon Resource Name (ARN) of the rotation to create an override for.

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

        CreateRotationOverrideRequest.Builder newContactIds​(Collection<String> newContactIds)

        The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.

        If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.

        Parameters:
        newContactIds - The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.

        If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.

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

        CreateRotationOverrideRequest.Builder newContactIds​(String... newContactIds)

        The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.

        If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.

        Parameters:
        newContactIds - The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.

        If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.

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

        CreateRotationOverrideRequest.Builder startTime​(Instant startTime)

        The date and time when the override goes into effect.

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

        CreateRotationOverrideRequest.Builder endTime​(Instant endTime)

        The date and time when the override ends.

        Parameters:
        endTime - The date and time when the override ends.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idempotencyToken

        CreateRotationOverrideRequest.Builder idempotencyToken​(String idempotencyToken)

        A token that ensures that the operation is called only once with the specified details.

        Parameters:
        idempotencyToken - A token that ensures that the operation is called only once with the specified details.
        Returns:
        Returns a reference to this object so that method calls can be chained together.