public static class CreateMultipartUploadDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateMultipartUploadDetails |
build() |
CreateMultipartUploadDetails.Builder |
cacheControl(String cacheControl)
The optional Cache-Control header that defines the caching behavior value to be returned
in GetObject and HeadObject responses.
|
CreateMultipartUploadDetails.Builder |
contentDisposition(String contentDisposition)
The optional Content-Disposition header that defines presentational information for the
object to be returned in GetObject and HeadObject responses.
|
CreateMultipartUploadDetails.Builder |
contentEncoding(String contentEncoding)
The optional Content-Encoding header that defines the content encodings that were applied
to the object to upload.
|
CreateMultipartUploadDetails.Builder |
contentLanguage(String contentLanguage)
The optional Content-Language header that defines the content language of the object to
upload.
|
CreateMultipartUploadDetails.Builder |
contentType(String contentType)
The optional Content-Type header that defines the standard MIME type format of the object
to upload.
|
CreateMultipartUploadDetails.Builder |
copy(CreateMultipartUploadDetails model) |
CreateMultipartUploadDetails.Builder |
metadata(Map<String,String> metadata)
Arbitrary string keys and values for the user-defined metadata for the object.
|
CreateMultipartUploadDetails.Builder |
object(String object)
The name of the object to which this multi-part upload is targeted.
|
CreateMultipartUploadDetails.Builder |
storageTier(StorageTier storageTier)
The storage tier that the object should be stored in.
|
public CreateMultipartUploadDetails.Builder object(String object)
The name of the object to which this multi-part upload is targeted. Avoid entering confidential information. Example: test/object1.log
object
- the value to setpublic CreateMultipartUploadDetails.Builder contentType(String contentType)
The optional Content-Type header that defines the standard MIME type format of the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and perform special operations on text only objects.
contentType
- the value to setpublic CreateMultipartUploadDetails.Builder contentLanguage(String contentLanguage)
The optional Content-Language header that defines the content language of the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and differentiate objects based on a particular language.
contentLanguage
- the value to setpublic CreateMultipartUploadDetails.Builder contentEncoding(String contentEncoding)
The optional Content-Encoding header that defines the content encodings that were applied to the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to determine what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of the object.
contentEncoding
- the value to setpublic CreateMultipartUploadDetails.Builder contentDisposition(String contentDisposition)
The optional Content-Disposition header that defines presentational information for the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to let users download objects with custom filenames in a browser.
contentDisposition
- the value to setpublic CreateMultipartUploadDetails.Builder cacheControl(String cacheControl)
The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify objects that require caching restrictions.
cacheControl
- the value to setpublic CreateMultipartUploadDetails.Builder storageTier(StorageTier storageTier)
The storage tier that the object should be stored in. If not specified, the object will be stored in the same storage tier as the bucket.
storageTier
- the value to setpublic CreateMultipartUploadDetails.Builder metadata(Map<String,String> metadata)
Arbitrary string keys and values for the user-defined metadata for the object. Keys must be in “opc-meta-*” format. Avoid entering confidential information.
metadata
- the value to setpublic CreateMultipartUploadDetails build()
public CreateMultipartUploadDetails.Builder copy(CreateMultipartUploadDetails model)
Copyright © 2016–2024. All rights reserved.