Interface Receiver.Builder

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

@Mutable @NotThreadSafe public static interface Receiver.Builder extends SdkPojo, CopyableBuilder<Receiver.Builder,Receiver>
  • Method Details

    • account

      Specifies the AWS account of the partner who received the Engagement Invitation. This field is used to track the invitation recipient within the AWS ecosystem.

      Parameters:
      account - Specifies the AWS account of the partner who received the Engagement Invitation. This field is used to track the invitation recipient within the AWS ecosystem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • account

      Specifies the AWS account of the partner who received the Engagement Invitation. This field is used to track the invitation recipient within the AWS ecosystem.

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

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

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