Interface GetArchiveMessageContentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetArchiveMessageContentResponse.Builder,
,GetArchiveMessageContentResponse> MailManagerResponse.Builder
,SdkBuilder<GetArchiveMessageContentResponse.Builder,
,GetArchiveMessageContentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetArchiveMessageContentResponse
@Mutable
@NotThreadSafe
public static interface GetArchiveMessageContentResponse.Builder
extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetArchiveMessageContentResponse.Builder,GetArchiveMessageContentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbody
(Consumer<MessageBody.Builder> body) The textual body content of the email message.body
(MessageBody body) The textual body content of the email message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
body
The textual body content of the email message.
- Parameters:
body
- The textual body content of the email message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
The textual body content of the email message.
This is a convenience method that creates an instance of theMessageBody.Builder
avoiding the need to create one manually viaMessageBody.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobody(MessageBody)
.- Parameters:
body
- a consumer that will call methods onMessageBody.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-