Class ObjectStorageObject


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20231130")
    public final class ObjectStorageObject
    extends ModelDataSource
    Details about the object storage location.
    Note: Objects should always be created or deserialized using the ObjectStorageObject.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 ObjectStorageObject.Builder, which maintain a set of all explicitly set fields called ObjectStorageObject.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

      • getNamespaceName

        public String getNamespaceName()
        The namespace of the Object Storage where the files are stored.
        Returns:
        the value
      • getBucketName

        public String getBucketName()
        The name of the Object Storage bucket.
        Returns:
        the value
      • getPrefixName

        public String getPrefixName()
        The prefix path (or folder) within the bucket where files are located.
        Returns:
        the value
      • getRegion

        public String getRegion()
        The full canonical Oracle Cloud region identifier (e.g., “us-ashburn-1”) where the object storage bucket containing the files resides.
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class ModelDataSource
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation