Class 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 the 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 CreateMultipartUploadDetails.Builder.__explicitlySet__. The hashCode() and equals(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).

    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel