Class ListPartsResponse.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.ListPartsResponse.Builder
- Enclosing class:
- ListPartsResponse
Builder for
ListPartsResponse.- Since:
- 2.60.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the bucket name.build()Builds aListPartsResponseobject.Sets the object name.maxParts(int maxParts) Sets the maximum number of parts to return.nextPartNumberMarker(int nextPartNumberMarker) Sets the next part number marker.partNumberMarker(int partNumberMarker) Sets the part number marker.Sets the list of parts.storageClass(StorageClass storageClass) Sets the storage class of the object.truncated(boolean isTruncated) Sets whether the response is truncated.Sets the upload ID.
-
Method Details
-
bucket
Sets the bucket name.- Parameters:
bucket- The bucket name.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
key
Sets the object name.- Parameters:
key- The object name.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
uploadId
Sets the upload ID.- Parameters:
uploadId- The upload ID.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
partNumberMarker
Sets the part number marker.- Parameters:
partNumberMarker- The part number marker.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
nextPartNumberMarker
Sets the next part number marker.- Parameters:
nextPartNumberMarker- The next part number marker.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
maxParts
Sets the maximum number of parts to return.- Parameters:
maxParts- The maximum number of parts to return.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
truncated
Sets whether the response is truncated.- Parameters:
isTruncated- True if the response is truncated, false otherwise.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
storageClass
Sets the storage class of the object.- Parameters:
storageClass- The storage class of the object.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
parts
Sets the list of parts.- Parameters:
parts- The list of parts.- Returns:
- The builder instance.
- Since:
- 2.60.0
-
build
Builds aListPartsResponseobject.- Returns:
- A new
ListPartsResponseinstance. - Since:
- 2.60.0
-