Interface EmailRecipients.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<EmailRecipients.Builder,,- EmailRecipients> - SdkBuilder<EmailRecipients.Builder,,- EmailRecipients> - SdkPojo
- Enclosing class:
- EmailRecipients
@Mutable
@NotThreadSafe
public static interface EmailRecipients.Builder
extends SdkPojo, CopyableBuilder<EmailRecipients.Builder,EmailRecipients> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
toSpecifies 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.
 
- 
toSpecifies 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.
 
- 
toSpecifies 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 on- RecipientDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-