Interface DescribeAttachmentUploadStatusResponse.Builder

  • Method Details

    • uploadStatus

      The current status of the multipart upload. Valid values: attachment-ready, attachment-not-ready, and failed.

      Parameters:
      uploadStatus - The current status of the multipart upload. Valid values: attachment-ready, attachment-not-ready, and failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • uploadStatus

      The current status of the multipart upload. Valid values: attachment-ready, attachment-not-ready, and failed.

      Parameters:
      uploadStatus - The current status of the multipart upload. Valid values: attachment-ready, attachment-not-ready, and failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileName

      The name of the file being uploaded, including the file extension.

      Parameters:
      fileName - The name of the file being uploaded, including the file extension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uploadProgress

      The progress of the multipart upload, including the total number of parts and the number of parts that have been successfully uploaded.

      Parameters:
      uploadProgress - The progress of the multipart upload, including the total number of parts and the number of parts that have been successfully uploaded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uploadProgress

      The progress of the multipart upload, including the total number of parts and the number of parts that have been successfully uploaded.

      This is a convenience method that creates an instance of the UploadProgress.Builder avoiding the need to create one manually via UploadProgress.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to uploadProgress(UploadProgress).

      Parameters:
      uploadProgress - a consumer that will call methods on UploadProgress.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: