Class ListPartsRequest.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.ListPartsRequest.Builder
- Enclosing class:
- ListPartsRequest
A builder for
ListPartsRequest.- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Method Summary
Modifier and TypeMethodDescriptionSets the bucket name.build()Builds a newListPartsRequestobject.Sets the object name.Sets the maximum number of parts to return.partNumberMarker(Integer partNumberMarker) Sets the part number marker.Sets the upload ID.
-
Method Details
-
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
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
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
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
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
Builds a newListPartsRequestobject.- Returns:
- a new
ListPartsRequestobject. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-