Class CreateMultipartUploadResponse
java.lang.Object
com.google.cloud.storage.multipartupload.model.CreateMultipartUploadResponse
Represents the response from a CreateMultipartUpload request. This class encapsulates the details
of the initiated multipart upload, including the bucket, key, and the unique upload ID.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder forCreateMultipartUploadResponseobjects. -
Method Summary
Modifier and TypeMethodDescriptionbucket()Returns the name of the bucket where the multipart upload was initiated.builder()Creates a new builder forCreateMultipartUploadResponse.booleaninthashCode()key()Returns the key (object name) for which the multipart upload was initiated.toString()uploadId()Returns the unique identifier for this multipart upload.
-
Method Details
-
bucket
Returns the name of the bucket where the multipart upload was initiated.- Returns:
- The bucket name.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
key
Returns the key (object name) for which the multipart upload was initiated.- Returns:
- The object key.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
uploadId
Returns the unique identifier for this multipart upload. This ID must be included in all subsequent requests related to this upload (e.g., uploading parts, completing the upload).- Returns:
- The upload ID.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
Creates a new builder forCreateMultipartUploadResponse.- Returns:
- A new builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-