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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
bodyThe 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.
 
- 
bodyThe 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 on- MessageBody.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-