Interface UploadRange.Builder

  • Method Details

    • startIndex

      UploadRange.Builder startIndex(Integer startIndex)

      The starting part index of the range, inclusive. Part indexes start at 1.

      Parameters:
      startIndex - The starting part index of the range, inclusive. Part indexes start at 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endIndex

      UploadRange.Builder endIndex(Integer endIndex)

      The ending part index of the range, exclusive. The range is half-open: startIndex is inclusive and endIndex is exclusive. For example, a range with startIndex of 1 and endIndex of 4 requests URLs for parts 1, 2, and 3. The range size (endIndex - startIndex) must not exceed 10. If you omit endIndex, the service defaults to startIndex + 10, capped by the total number of parts.

      Parameters:
      endIndex - The ending part index of the range, exclusive. The range is half-open: startIndex is inclusive and endIndex is exclusive. For example, a range with startIndex of 1 and endIndex of 4 requests URLs for parts 1, 2, and 3. The range size ( endIndex - startIndex) must not exceed 10. If you omit endIndex , the service defaults to startIndex + 10, capped by the total number of parts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.