@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateMultipartUploadDetails extends Object
To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
CreateMultipartUploadDetails.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the CreateMultipartUploadDetails.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
CreateMultipartUploadDetails.Builder |
| Constructor and Description |
|---|
CreateMultipartUploadDetails(String object,
String contentType,
String contentLanguage,
String contentEncoding,
String contentDisposition,
String cacheControl,
StorageTier storageTier,
Map<String,String> metadata)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateMultipartUploadDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCacheControl()
The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and
HeadObject responses.
|
String |
getContentDisposition()
The optional Content-Disposition header that defines presentational information for the object to be
returned in GetObject and HeadObject responses.
|
String |
getContentEncoding()
The optional Content-Encoding header that defines the content encodings that were applied to the object to
upload.
|
String |
getContentLanguage()
The optional Content-Language header that defines the content language of the object to upload.
|
String |
getContentType()
The optional Content-Type header that defines the standard MIME type format of the object to upload.
|
Map<String,String> |
getMetadata()
Arbitrary string keys and values for the user-defined metadata for the object.
|
String |
getObject()
The name of the object to which this multi-part upload is targeted.
|
StorageTier |
getStorageTier()
The storage tier that the object should be stored in.
|
int |
hashCode() |
CreateMultipartUploadDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"object","contentType","contentLanguage","contentEncoding","contentDisposition","cacheControl","storageTier","metadata"}) @Deprecated public CreateMultipartUploadDetails(String object, String contentType, String contentLanguage, String contentEncoding, String contentDisposition, String cacheControl, StorageTier storageTier, Map<String,String> metadata)
public static CreateMultipartUploadDetails.Builder builder()
Create a new builder.
public CreateMultipartUploadDetails.Builder toBuilder()
public String getObject()
The name of the object to which this multi-part upload is targeted. Avoid entering confidential information. Example: test/object1.log
public String getContentType()
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.
public String getContentLanguage()
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.
public String getContentEncoding()
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.
public String getContentDisposition()
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.
public String getCacheControl()
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.
public StorageTier getStorageTier()
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.
public Map<String,String> getMetadata()
Arbitrary string keys and values for the user-defined metadata for the object. Keys must be in "opc-meta-*" format. Avoid entering confidential information.
Copyright © 2016–2021. All rights reserved.