Interface EmailRecipients.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EmailRecipients.Builder,EmailRecipients>,SdkBuilder<EmailRecipients.Builder,EmailRecipients>,SdkPojo
- Enclosing class:
- EmailRecipients
public static interface EmailRecipients.Builder extends SdkPojo, CopyableBuilder<EmailRecipients.Builder,EmailRecipients>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmailRecipients.Builderto(Collection<RecipientDetail> to)Specifies one or more recipients who receive the email.EmailRecipients.Builderto(Consumer<RecipientDetail.Builder>... to)Specifies one or more recipients who receive the email.EmailRecipients.Builderto(RecipientDetail... to)Specifies one or more recipients who receive the email.-
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, sdkFields
-
-
-
-
Method Detail
-
to
EmailRecipients.Builder to(Collection<RecipientDetail> to)
Specifies one or more recipients who receive the email.
- Parameters:
to- Specifies one or more recipients who receive the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
EmailRecipients.Builder to(RecipientDetail... to)
Specifies one or more recipients who receive the email.
- Parameters:
to- Specifies one or more recipients who receive the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
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.Builderavoiding the need to create one manually viaRecipientDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#to(List.) - Parameters:
to- a consumer that will call methods onRecipientDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#to(java.util.Collection)
-
-