Interface Receiver.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Receiver.Builder,Receiver>,SdkBuilder<Receiver.Builder,Receiver>,SdkPojo
- Enclosing class:
- Receiver
public static interface Receiver.Builder extends SdkPojo, CopyableBuilder<Receiver.Builder,Receiver>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Receiver.Builderaccount(Consumer<AccountReceiver.Builder> account)Specifies the AWS account of the partner who received the Engagement Invitation.Receiver.Builderaccount(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 Detail
-
account
Receiver.Builder account(AccountReceiver 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
default Receiver.Builder account(Consumer<AccountReceiver.Builder> 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.Builderavoiding the need to create one manually viaAccountReceiver.builder().When the
Consumercompletes,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:
account(AccountReceiver)
-
-