public static interface SimpleEmail.Builder extends SdkPojo, CopyableBuilder<SimpleEmail.Builder,SimpleEmail>
| Modifier and Type | Method and Description |
|---|---|
default SimpleEmail.Builder |
htmlPart(Consumer<SimpleEmailPart.Builder> htmlPart)
The content of the message, in HTML format.
|
SimpleEmail.Builder |
htmlPart(SimpleEmailPart htmlPart)
The content of the message, in HTML format.
|
default SimpleEmail.Builder |
subject(Consumer<SimpleEmailPart.Builder> subject)
The subject of the message: A short summary of the content, which will appear in the recipient's inbox.
|
SimpleEmail.Builder |
subject(SimpleEmailPart subject)
The subject of the message: A short summary of the content, which will appear in the recipient's inbox.
|
default SimpleEmail.Builder |
textPart(Consumer<SimpleEmailPart.Builder> textPart)
The content of the message, in text format.
|
SimpleEmail.Builder |
textPart(SimpleEmailPart textPart)
The content of the message, in text format.
|
copyapplyMutation, buildSimpleEmail.Builder htmlPart(SimpleEmailPart htmlPart)
htmlPart - The content of the message, in HTML format. Use this for email clients that can process HTML. You can
include clickable links, formatted text, and much more in an HTML message.default SimpleEmail.Builder htmlPart(Consumer<SimpleEmailPart.Builder> htmlPart)
SimpleEmailPart.Builder avoiding the need to create one manually via
SimpleEmailPart.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to htmlPart(SimpleEmailPart).htmlPart - a consumer that will call methods on SimpleEmailPart.BuilderhtmlPart(SimpleEmailPart)SimpleEmail.Builder subject(SimpleEmailPart subject)
subject - The subject of the message: A short summary of the content, which will appear in the recipient's
inbox.default SimpleEmail.Builder subject(Consumer<SimpleEmailPart.Builder> subject)
SimpleEmailPart.Builder avoiding the need to create
one manually via SimpleEmailPart.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to subject(SimpleEmailPart).subject - a consumer that will call methods on SimpleEmailPart.Buildersubject(SimpleEmailPart)SimpleEmail.Builder textPart(SimpleEmailPart textPart)
textPart - The content of the message, in text format. Use this for text-based email clients, or clients on
high-latency networks (such as mobile devices).default SimpleEmail.Builder textPart(Consumer<SimpleEmailPart.Builder> textPart)
SimpleEmailPart.Builder avoiding the need to create one manually via
SimpleEmailPart.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to textPart(SimpleEmailPart).textPart - a consumer that will call methods on SimpleEmailPart.BuildertextPart(SimpleEmailPart)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.