Class ListPartsRequest.Builder

java.lang.Object
com.google.cloud.storage.multipartupload.model.ListPartsRequest.Builder
Enclosing class:
ListPartsRequest

@BetaApi public static class ListPartsRequest.Builder extends Object
A builder for ListPartsRequest.
Since:
2.60.0 This new api is in preview and is subject to breaking changes.
  • Method Details

    • bucket

      @BetaApi public ListPartsRequest.Builder bucket(String bucket)
      Sets the bucket name.
      Parameters:
      bucket - the bucket name.
      Returns:
      this builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • key

      @BetaApi public ListPartsRequest.Builder key(String key)
      Sets the object name.
      Parameters:
      key - the object name.
      Returns:
      this builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • uploadId

      @BetaApi public ListPartsRequest.Builder uploadId(String uploadId)
      Sets the upload ID.
      Parameters:
      uploadId - the upload ID.
      Returns:
      this builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • maxParts

      @BetaApi public ListPartsRequest.Builder maxParts(Integer maxParts)
      Sets the maximum number of parts to return.
      Parameters:
      maxParts - the maximum number of parts to return.
      Returns:
      this builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • partNumberMarker

      @BetaApi public ListPartsRequest.Builder partNumberMarker(Integer partNumberMarker)
      Sets the part number marker.
      Parameters:
      partNumberMarker - the part number marker.
      Returns:
      this builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • build

      @BetaApi public ListPartsRequest build()
      Builds a new ListPartsRequest object.
      Returns:
      a new ListPartsRequest object.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.