Interface PatchDelivery.Builder

  • Method Details

    • status

      PatchDelivery.Builder status(String status)

      How far delivery to the destination has progressed.

      Parameters:
      status - How far delivery to the destination has progressed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      How far delivery to the destination has progressed.

      Parameters:
      status - How far delivery to the destination has progressed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • target

      Where the patch was or will be delivered. Absent while the destination is still being resolved, or when delivery was skipped before a destination was known.

      Parameters:
      target - Where the patch was or will be delivered. Absent while the destination is still being resolved, or when delivery was skipped before a destination was known.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      Where the patch was or will be delivered. Absent while the destination is still being resolved, or when delivery was skipped before a destination was known.

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

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

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

      PatchDelivery.Builder updatedAt(Instant updatedAt)

      When the delivery status last changed.

      Parameters:
      updatedAt - When the delivery status last changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.