Interface NotificationEventAttachment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationEventAttachment.Builder,,NotificationEventAttachment> SdkBuilder<NotificationEventAttachment.Builder,,NotificationEventAttachment> SdkPojo
- Enclosing class:
NotificationEventAttachment
@Mutable
@NotThreadSafe
public static interface NotificationEventAttachment.Builder
extends SdkPojo, CopyableBuilder<NotificationEventAttachment.Builder,NotificationEventAttachment>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentDownloadUrl(String attachmentDownloadUrl) A temporary URL for downloading the attachment.contentType(String contentType) The MIME content type of the attachment, for exampleapplication/pdf.displayName(String displayName) The name of the attachment that recipients see.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
displayName
The name of the attachment that recipients see.
- Parameters:
displayName- The name of the attachment that recipients see.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentDownloadUrl
A temporary URL for downloading the attachment. The URL expires shortly after it's issued.
- Parameters:
attachmentDownloadUrl- A temporary URL for downloading the attachment. The URL expires shortly after it's issued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The MIME content type of the attachment, for example
application/pdf.- Parameters:
contentType- The MIME content type of the attachment, for exampleapplication/pdf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-