Class ListPartsRequest.Builder (2.60.0)

public static class ListPartsRequest.Builder

A builder for ListPartsRequest.

Inheritance

java.lang.Object > ListPartsRequest.Builder

Methods

bucket(String bucket)

public ListPartsRequest.Builder bucket(String bucket)

Sets the bucket name.

Parameter
Name Description
bucket String

the bucket name.

Returns
Type Description
ListPartsRequest.Builder

this builder.

build()

public ListPartsRequest build()

Builds a new ListPartsRequest object.

Returns
Type Description
ListPartsRequest

a new ListPartsRequest object.

key(String key)

public ListPartsRequest.Builder key(String key)

Sets the object name.

Parameter
Name Description
key String

the object name.

Returns
Type Description
ListPartsRequest.Builder

this builder.

maxParts(Integer maxParts)

public ListPartsRequest.Builder maxParts(Integer maxParts)

Sets the maximum number of parts to return.

Parameter
Name Description
maxParts Integer

the maximum number of parts to return.

Returns
Type Description
ListPartsRequest.Builder

this builder.

partNumberMarker(Integer partNumberMarker)

public ListPartsRequest.Builder partNumberMarker(Integer partNumberMarker)

Sets the part number marker.

Parameter
Name Description
partNumberMarker Integer

the part number marker.

Returns
Type Description
ListPartsRequest.Builder

this builder.

uploadId(String uploadId)

public ListPartsRequest.Builder uploadId(String uploadId)

Sets the upload ID.

Parameter
Name Description
uploadId String

the upload ID.

Returns
Type Description
ListPartsRequest.Builder

this builder.