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.Builderbucket(String bucket)The bucket in which the in-progress multipart upload is stored.MultipartUploadbuild()MultipartUpload.Buildercopy(MultipartUpload model)MultipartUpload.Buildernamespace(String namespace)The Object Storage namespace in which the in-progress multipart upload is stored.MultipartUpload.Builderobject(String object)The object name of the in-progress multipart upload.MultipartUpload.BuilderstorageTier(StorageTier storageTier)The storage tier that the object is stored in.MultipartUpload.BuildertimeCreated(Date timeCreated)The date and time the upload was created, as described in RFC 2616.MultipartUpload.BuilderuploadId(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)
-
-