Interface Invitation.Builder

  • Method Details

    • message

      Invitation.Builder message(String message)

      A message accompanying the invitation.

      Parameters:
      message - A message accompanying the invitation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      Invitation.Builder payload(Payload payload)
      Sets the value of the Payload property for this object.
      Parameters:
      payload - The new value for the Payload property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      default Invitation.Builder payload(Consumer<Payload.Builder> payload)
      Sets the value of the Payload property for this object. This is a convenience method that creates an instance of the Payload.Builder avoiding the need to create one manually via Payload.builder().

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

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

      Invitation.Builder receiver(Receiver receiver)
      Sets the value of the Receiver property for this object.
      Parameters:
      receiver - The new value for the Receiver property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • receiver

      default Invitation.Builder receiver(Consumer<Receiver.Builder> receiver)
      Sets the value of the Receiver property for this object. This is a convenience method that creates an instance of the Receiver.Builder avoiding the need to create one manually via Receiver.builder().

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

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