public final class CreateMultipartUploadResponseRepresents 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.
Static Methods
builder()
public static CreateMultipartUploadResponse.Builder builder()Creates a new builder for CreateMultipartUploadResponse.
| Returns | |
|---|---|
| Type | Description |
CreateMultipartUploadResponse.Builder |
A new builder. |
Methods
bucket()
public String bucket()Returns the name of the bucket where the multipart upload was initiated.
| Returns | |
|---|---|
| Type | Description |
String |
The bucket name. |
equals(Object o)
public boolean equals(Object o)| Parameter | |
|---|---|
| Name | Description |
o |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
key()
public String key()Returns the key (object name) for which the multipart upload was initiated.
| Returns | |
|---|---|
| Type | Description |
String |
The object key. |
toString()
public String toString()| Returns | |
|---|---|
| Type | Description |
String |
|
uploadId()
public String 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 | |
|---|---|
| Type | Description |
String |
The upload ID. |