Class ListPartsRequest.Builder

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

public static class ListPartsRequest.Builder extends Object
A builder for ListPartsRequest.
Since:
2.60.0
  • Method Details

    • bucket

      public ListPartsRequest.Builder bucket(String bucket)
      Sets the bucket name.
      Parameters:
      bucket - the bucket name.
      Returns:
      this builder.
      Since:
      2.60.0
    • key

      public ListPartsRequest.Builder key(String key)
      Sets the object name.
      Parameters:
      key - the object name.
      Returns:
      this builder.
      Since:
      2.60.0
    • uploadId

      public ListPartsRequest.Builder uploadId(String uploadId)
      Sets the upload ID.
      Parameters:
      uploadId - the upload ID.
      Returns:
      this builder.
      Since:
      2.60.0
    • maxParts

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

      public ListPartsRequest.Builder partNumberMarker(Integer partNumberMarker)
      Sets the part number marker.
      Parameters:
      partNumberMarker - the part number marker.
      Returns:
      this builder.
      Since:
      2.60.0
    • userProject

      public ListPartsRequest.Builder userProject(String userProject)
      Sets the user-project.
      Parameters:
      userProject - The user-project.
      Returns:
      This builder.
      Since:
      2.61.0
      See Also:
    • build

      public ListPartsRequest build()
      Builds a new ListPartsRequest object.
      Returns:
      a new ListPartsRequest object.
      Since:
      2.60.0