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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetArchiveMessageResponse.Builderenvelope(Consumer<Envelope.Builder> envelope)The SMTP envelope information of the email.GetArchiveMessageResponse.Builderenvelope(Envelope envelope)The SMTP envelope information of the email.GetArchiveMessageResponse.BuildermessageDownloadLink(String messageDownloadLink)A pre-signed URL to temporarily download the full message content.default GetArchiveMessageResponse.Buildermetadata(Consumer<Metadata.Builder> metadata)The metadata about the email.GetArchiveMessageResponse.Buildermetadata(Metadata metadata)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 Detail
-
envelope
GetArchiveMessageResponse.Builder envelope(Envelope 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
default GetArchiveMessageResponse.Builder envelope(Consumer<Envelope.Builder> 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:
envelope(Envelope)
-
messageDownloadLink
GetArchiveMessageResponse.Builder messageDownloadLink(String 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
GetArchiveMessageResponse.Builder metadata(Metadata 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
default GetArchiveMessageResponse.Builder metadata(Consumer<Metadata.Builder> 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:
metadata(Metadata)
-
-