Class CreateMultipartUploadDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.objectstorage.model.CreateMultipartUploadDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateMultipartUploadDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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.
Note: Objects should always be created or deserialized using theCreateMultipartUploadDetails.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 theCreateMultipartUploadDetails.Builder
, which maintain a set of all explicitly set fields calledCreateMultipartUploadDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateMultipartUploadDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateMultipartUploadDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
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()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateMultipartUploadDetails
@Deprecated @ConstructorProperties({"object","contentType","contentLanguage","contentEncoding","contentDisposition","cacheControl","storageTier","metadata"}) public CreateMultipartUploadDetails(String object, String contentType, String contentLanguage, String contentEncoding, String contentDisposition, String cacheControl, StorageTier storageTier, Map<String,String> metadata)
Deprecated.
-
-
Method Detail
-
builder
public static CreateMultipartUploadDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateMultipartUploadDetails.Builder toBuilder()
-
getObject
public String getObject()
The name of the object to which this multi-part upload is targeted.Avoid entering confidential information. Example: test/object1.log
- Returns:
- the value
-
getContentType
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.
- Returns:
- the value
-
getContentLanguage
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.
- Returns:
- the value
-
getContentEncoding
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.
- Returns:
- the value
-
getContentDisposition
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.
- Returns:
- the value
-
getCacheControl
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.
- Returns:
- the value
-
getStorageTier
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.
- Returns:
- the value
-
getMetadata
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-