Class CompletedPart.Builder
java.lang.Object
com.google.cloud.storage.multipartupload.model.CompletedPart.Builder
- Enclosing class:
- CompletedPart
Builder for
CompletedPart.- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theCompletedPartobject.Sets the ETag of the completed part.partNumber(int partNumber) Sets the part number of the completed part.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partNumber
Sets the part number of the completed part.- Parameters:
partNumber- The part number.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
eTag
Sets the ETag of the completed part.- Parameters:
etag- The ETag.- Returns:
- This builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
build
Builds theCompletedPartobject.- Returns:
- The new
CompletedPartobject. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-