public static interface EmailRecipients.Builder extends SdkPojo, CopyableBuilder<EmailRecipients.Builder,EmailRecipients>
| Modifier and Type | Method and Description |
|---|---|
EmailRecipients.Builder |
to(Collection<RecipientDetail> to)
Specifies one or more recipients who receive the email.
|
EmailRecipients.Builder |
to(Consumer<RecipientDetail.Builder>... to)
Specifies one or more recipients who receive the email.
|
EmailRecipients.Builder |
to(RecipientDetail... to)
Specifies one or more recipients who receive the email.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEmailRecipients.Builder to(Collection<RecipientDetail> to)
Specifies one or more recipients who receive the email.
to - Specifies one or more recipients who receive the email.EmailRecipients.Builder to(RecipientDetail... to)
Specifies one or more recipients who receive the email.
to - Specifies one or more recipients who receive the email.EmailRecipients.Builder to(Consumer<RecipientDetail.Builder>... to)
Specifies one or more recipients who receive the email.
This is a convenience method that creates an instance of theRecipientDetail.Builder avoiding the need to create
one manually via RecipientDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #to(List.
to - a consumer that will call methods on
RecipientDetail.Builder#to(java.util.Collection) Copyright © 2023. All rights reserved.