Interface GetArchiveMessageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetArchiveMessageResponse.Builder,
,GetArchiveMessageResponse> MailManagerResponse.Builder
,SdkBuilder<GetArchiveMessageResponse.Builder,
,GetArchiveMessageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetArchiveMessageResponse
@Mutable
@NotThreadSafe
public static interface GetArchiveMessageResponse.Builder
extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetArchiveMessageResponse.Builder,GetArchiveMessageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvelope
(Consumer<Envelope.Builder> envelope) The SMTP envelope information of the email.The SMTP envelope information of the email.messageDownloadLink
(String messageDownloadLink) A pre-signed URL to temporarily download the full message content.metadata
(Consumer<Metadata.Builder> metadata) The metadata about the email.The metadata about the email.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
-
envelope
The SMTP envelope information of the email.
- Parameters:
envelope
- The SMTP envelope information of the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
envelope
The SMTP envelope information of the email.
This is a convenience method that creates an instance of theEnvelope.Builder
avoiding the need to create one manually viaEnvelope.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvelope(Envelope)
.- Parameters:
envelope
- a consumer that will call methods onEnvelope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageDownloadLink
A pre-signed URL to temporarily download the full message content.
- Parameters:
messageDownloadLink
- A pre-signed URL to temporarily download the full message content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The metadata about the email.
- Parameters:
metadata
- The metadata about the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The metadata about the email.
This is a convenience method that creates an instance of theMetadata.Builder
avoiding the need to create one manually viaMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(Metadata)
.- Parameters:
metadata
- a consumer that will call methods onMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-