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
Modifier and TypeMethodDescriptionto(Collection<RecipientDetail> to) Specifies one or more recipients who receive the email.to(Consumer<RecipientDetail.Builder>... to) Specifies one or more recipients who receive the email.to(RecipientDetail... to) Specifies one or more recipients who receive the email.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 toto(List<RecipientDetail>).- 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:
-