Interface MessageTemplateAttachment.Builder

  • Method Details

    • 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

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

      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

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