Interface MessageTemplateAttachment.Builder

    • 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
      • 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.