Interface GetArchiveMessageContentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetArchiveMessageContentResponse.Builder,GetArchiveMessageContentResponse>,MailManagerResponse.Builder,SdkBuilder<GetArchiveMessageContentResponse.Builder,GetArchiveMessageContentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetArchiveMessageContentResponse
public static interface GetArchiveMessageContentResponse.Builder extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetArchiveMessageContentResponse.Builder,GetArchiveMessageContentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetArchiveMessageContentResponse.Builderbody(Consumer<MessageBody.Builder> body)The textual body content of the email message.GetArchiveMessageContentResponse.Builderbody(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
body
GetArchiveMessageContentResponse.Builder body(MessageBody 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
default GetArchiveMessageContentResponse.Builder body(Consumer<MessageBody.Builder> 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:
body(MessageBody)
-
-