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 Summary
Modifier and TypeMethodDescriptiondefault Receiver.Builder
account
(Consumer<AccountReceiver.Builder> account) Specifies the AWS account of the partner who received the Engagement Invitation.account
(AccountReceiver account) Specifies the AWS account of the partner who received the Engagement Invitation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 theAccountReceiver.Builder
avoiding the need to create one manually viaAccountReceiver.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccount(AccountReceiver)
.- Parameters:
account
- a consumer that will call methods onAccountReceiver.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-