Class ListPartsResponse.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.ListPartsResponse.Builder
- Enclosing class:
- ListPartsResponse
Builder for
ListPartsResponse.- 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 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 This new api is in preview and is subject to breaking changes.
-
key
Sets the object name.- Parameters:
key- The object name.- Returns:
- The builder instance.
- 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:
- The builder instance.
- 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:
- The builder instance.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
nextPartNumberMarker
Sets the next part number marker.- Parameters:
nextPartNumberMarker- The next part number marker.- Returns:
- The builder instance.
- 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:
- The builder instance.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
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 This new api is in preview and is subject to breaking changes.
-
storageClass
Sets the storage class of the object.- Parameters:
storageClass- The storage class of the object.- Returns:
- The builder instance.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
parts
Sets the list of parts.- Parameters:
parts- The list of parts.- Returns:
- The builder instance.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
build
Builds aListPartsResponseobject.- Returns:
- A new
ListPartsResponseinstance. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-