Interface UploadMetadata.Builder

    • Method Detail

      • url

        UploadMetadata.Builder url​(String url)

        This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.

        Parameters:
        url - This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • urlExpiry

        UploadMetadata.Builder urlExpiry​(String urlExpiry)

        The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

        Parameters:
        urlExpiry - The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headersToInclude

        UploadMetadata.Builder headersToInclude​(Map<String,​String> headersToInclude)

        The headers to be provided while uploading the file to the URL.

        Parameters:
        headersToInclude - The headers to be provided while uploading the file to the URL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.