Class UploadPartRequest.Builder (2.60.0)

public static class UploadPartRequest.Builder

A builder for UploadPartRequest.

Inheritance

java.lang.Object > UploadPartRequest.Builder

Methods

bucket(String bucket)

public UploadPartRequest.Builder bucket(String bucket)

Sets the bucket to upload the part to.

Parameter
Name Description
bucket String

The bucket to upload the part to.

Returns
Type Description
UploadPartRequest.Builder

This builder.

build()

public UploadPartRequest build()

Builds the UploadPartRequest.

Returns
Type Description
UploadPartRequest

The built UploadPartRequest.

key(String key)

public UploadPartRequest.Builder key(String key)

Sets the key of the object to upload the part to.

Parameter
Name Description
key String

The key of the object to upload the part to.

Returns
Type Description
UploadPartRequest.Builder

This builder.

partNumber(int partNumber)

public UploadPartRequest.Builder partNumber(int partNumber)

Sets the part number of the part to upload.

Parameter
Name Description
partNumber int

The part number of the part to upload.

Returns
Type Description
UploadPartRequest.Builder

This builder.

uploadId(String uploadId)

public UploadPartRequest.Builder uploadId(String uploadId)

Sets the upload ID of the multipart upload.

Parameter
Name Description
uploadId String

The upload ID of the multipart upload.

Returns
Type Description
UploadPartRequest.Builder

This builder.