Interface MessageTemplateAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MessageTemplateAttachment.Builder,MessageTemplateAttachment>,SdkBuilder<MessageTemplateAttachment.Builder,MessageTemplateAttachment>,SdkPojo
- Enclosing class:
- MessageTemplateAttachment
public static interface MessageTemplateAttachment.Builder extends SdkPojo, CopyableBuilder<MessageTemplateAttachment.Builder,MessageTemplateAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageTemplateAttachment.BuilderattachmentId(String attachmentId)The identifier of the attachment file.MessageTemplateAttachment.BuildercontentDisposition(String contentDisposition)The presentation information for the attachment file.MessageTemplateAttachment.BuildercontentDisposition(ContentDisposition contentDisposition)The presentation information for the attachment file.MessageTemplateAttachment.Buildername(String name)The name of the attachment file being uploaded.MessageTemplateAttachment.BuilderuploadedTime(Instant uploadedTime)The timestamp when the attachment file was uploaded.MessageTemplateAttachment.Builderurl(String url)A pre-signed Amazon S3 URL that can be used to download the attachment file.MessageTemplateAttachment.BuilderurlExpiry(Instant urlExpiry)The expiration time of the pre-signed Amazon S3 URL.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attachmentId
MessageTemplateAttachment.Builder attachmentId(String attachmentId)
The identifier of the attachment file.
- Parameters:
attachmentId- The identifier of the attachment file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentDisposition
MessageTemplateAttachment.Builder contentDisposition(String contentDisposition)
The presentation information for the attachment file.
- Parameters:
contentDisposition- The presentation information for the attachment file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentDisposition,ContentDisposition
-
contentDisposition
MessageTemplateAttachment.Builder contentDisposition(ContentDisposition contentDisposition)
The presentation information for the attachment file.
- Parameters:
contentDisposition- The presentation information for the attachment file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentDisposition,ContentDisposition
-
name
MessageTemplateAttachment.Builder name(String name)
The name of the attachment file being uploaded. The name should include the file extension.
- Parameters:
name- The name of the attachment file being uploaded. The name should include the file extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadedTime
MessageTemplateAttachment.Builder uploadedTime(Instant uploadedTime)
The timestamp when the attachment file was uploaded.
- Parameters:
uploadedTime- The timestamp when the attachment file was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
MessageTemplateAttachment.Builder url(String url)
A pre-signed Amazon S3 URL that can be used to download the attachment file.
- Parameters:
url- A pre-signed Amazon S3 URL that can be used to download the attachment file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlExpiry
MessageTemplateAttachment.Builder urlExpiry(Instant urlExpiry)
The expiration time of the pre-signed Amazon S3 URL.
- Parameters:
urlExpiry- The expiration time of the pre-signed Amazon S3 URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-