Class MultipartUpload.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.model.MultipartUpload.Builder
-
- Enclosing class:
- MultipartUpload
public static class MultipartUpload.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
namespace
public MultipartUpload.Builder namespace(String namespace)
The Object Storage namespace in which the in-progress multipart upload is stored.- Parameters:
namespace
- the value to set- Returns:
- this builder
-
bucket
public MultipartUpload.Builder bucket(String bucket)
The bucket in which the in-progress multipart upload is stored.- Parameters:
bucket
- the value to set- Returns:
- this builder
-
object
public MultipartUpload.Builder object(String object)
The object name of the in-progress multipart upload.- Parameters:
object
- the value to set- Returns:
- this builder
-
uploadId
public MultipartUpload.Builder uploadId(String uploadId)
The unique identifier for the in-progress multipart upload.- Parameters:
uploadId
- the value to set- Returns:
- this builder
-
timeCreated
public MultipartUpload.Builder timeCreated(Date timeCreated)
The date and time the upload was created, as described in RFC 2616.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
storageTier
public MultipartUpload.Builder storageTier(StorageTier storageTier)
The storage tier that the object is stored in.- Parameters:
storageTier
- the value to set- Returns:
- this builder
-
build
public MultipartUpload build()
-
copy
public MultipartUpload.Builder copy(MultipartUpload model)
-
-