Class ListMultipartUploadsResponse.Builder

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

@BetaApi public static final class ListMultipartUploadsResponse.Builder extends Object
Since:
2.61.0 This new api is in preview and is subject to breaking changes.
  • Method Details

    • uploads

      @BetaApi public ListMultipartUploadsResponse.Builder uploads(com.google.common.collect.ImmutableList<MultipartUpload> uploads)
      Sets the list of multipart uploads.
      Parameters:
      uploads - The list of multipart uploads.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • bucket

      @BetaApi public ListMultipartUploadsResponse.Builder bucket(String bucket)
      Sets the bucket that contains the multipart uploads.
      Parameters:
      bucket - The bucket name.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • delimiter

      @BetaApi public ListMultipartUploadsResponse.Builder delimiter(String delimiter)
      Sets the delimiter applied to the request.
      Parameters:
      delimiter - The delimiter applied to the request.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • encodingType

      @BetaApi public ListMultipartUploadsResponse.Builder encodingType(String encodingType)
      Sets the encoding type used by Cloud Storage to encode object names in the response.
      Parameters:
      encodingType - The encoding type.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • keyMarker

      @BetaApi public ListMultipartUploadsResponse.Builder keyMarker(String keyMarker)
      Sets the key at or after which the listing began.
      Parameters:
      keyMarker - The key marker.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • uploadIdMarker

      @BetaApi public ListMultipartUploadsResponse.Builder uploadIdMarker(String uploadIdMarker)
      Sets the upload ID at or after which the listing began.
      Parameters:
      uploadIdMarker - The upload ID marker.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • nextKeyMarker

      @BetaApi public ListMultipartUploadsResponse.Builder nextKeyMarker(String nextKeyMarker)
      Sets the key after which listing should begin.
      Parameters:
      nextKeyMarker - The key after which listing should begin.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • nextUploadIdMarker

      @BetaApi public ListMultipartUploadsResponse.Builder nextUploadIdMarker(String nextUploadIdMarker)
      Sets the upload ID after which listing should begin.
      Parameters:
      nextUploadIdMarker - The upload ID after which listing should begin.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • maxUploads

      @BetaApi public ListMultipartUploadsResponse.Builder maxUploads(int maxUploads)
      Sets the maximum number of uploads to return.
      Parameters:
      maxUploads - The maximum number of uploads.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • prefix

      @BetaApi public ListMultipartUploadsResponse.Builder prefix(String prefix)
      Sets the prefix applied to the request.
      Parameters:
      prefix - The prefix applied to the request.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • truncated

      @BetaApi public ListMultipartUploadsResponse.Builder truncated(boolean isTruncated)
      Sets the flag indicating whether or not the returned results are truncated.
      Parameters:
      isTruncated - The flag indicating whether or not the returned results are truncated.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • commonPrefixes

      @BetaApi public ListMultipartUploadsResponse.Builder commonPrefixes(com.google.common.collect.ImmutableList<String> commonPrefixes)
      If you specify a delimiter in the request, this element is returned.
      Parameters:
      commonPrefixes - The common prefixes.
      Returns:
      This builder.
      Since:
      2.61.0 This new api is in preview.
    • build

      @BetaApi public ListMultipartUploadsResponse build()
      Builds the response.
      Returns:
      The built response.
      Since:
      2.61.0 This new api is in preview and is subject to breaking changes.