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
copyMethods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaMessageBody.builder().When the
Consumercompletes,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:
-