Interface GetArchiveMessageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetArchiveMessageResponse.Builder,,GetArchiveMessageResponse> MailManagerResponse.Builder,SdkBuilder<GetArchiveMessageResponse.Builder,,GetArchiveMessageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetArchiveMessageResponse
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
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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaEnvelope.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMetadata.builder().When the
Consumercompletes,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:
-