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 SummaryModifier 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.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- 
messageDownloadLinkA 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.
 
- 
metadataThe 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.
 
- 
metadataThe 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 on- Metadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
envelopeThe 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.
 
- 
envelopeThe 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 on- Envelope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-