public static class MultipartUpload.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MultipartUpload.Builder |
bucket(String bucket)
The bucket in which the in-progress multipart upload is stored.
|
MultipartUpload |
build() |
MultipartUpload.Builder |
copy(MultipartUpload model) |
MultipartUpload.Builder |
namespace(String namespace)
The Object Storage namespace in which the in-progress multipart upload is stored.
|
MultipartUpload.Builder |
object(String object)
The object name of the in-progress multipart upload.
|
MultipartUpload.Builder |
storageTier(StorageTier storageTier)
The storage tier that the object is stored in.
|
MultipartUpload.Builder |
timeCreated(Date timeCreated)
The date and time the upload was created, as described in RFC
2616.
|
MultipartUpload.Builder |
uploadId(String uploadId)
The unique identifier for the in-progress multipart upload.
|
public MultipartUpload.Builder namespace(String namespace)
The Object Storage namespace in which the in-progress multipart upload is stored.
namespace
- the value to setpublic MultipartUpload.Builder bucket(String bucket)
The bucket in which the in-progress multipart upload is stored.
bucket
- the value to setpublic MultipartUpload.Builder object(String object)
The object name of the in-progress multipart upload.
object
- the value to setpublic MultipartUpload.Builder uploadId(String uploadId)
The unique identifier for the in-progress multipart upload.
uploadId
- the value to setpublic MultipartUpload.Builder timeCreated(Date timeCreated)
The date and time the upload was created, as described in RFC 2616.
timeCreated
- the value to setpublic MultipartUpload.Builder storageTier(StorageTier storageTier)
The storage tier that the object is stored in.
storageTier
- the value to setpublic MultipartUpload build()
public MultipartUpload.Builder copy(MultipartUpload model)
Copyright © 2016–2024. All rights reserved.