Interface UploadMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UploadMetadata.Builder,UploadMetadata>, SdkBuilder<UploadMetadata.Builder,UploadMetadata>, SdkPojo
Enclosing class:
UploadMetadata

public static interface UploadMetadata.Builder extends SdkPojo, CopyableBuilder<UploadMetadata.Builder,UploadMetadata>
  • Method Details

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