Class CreateMultipartUploadResponse (2.60.0)

public final class 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.

Inheritance

Object > CreateMultipartUploadResponse

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
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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
Overrides

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.