Class ObjectStorageArchiveSourceDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20260325")
    public final class ObjectStorageArchiveSourceDetails
    extends ArchiveSourceDetails
    The details for the Archive source of the Function from Object Storage.

    This is used when the function code is stored in Object Storage. It is suitable for scenarios where the function code is uploaded as an archive file to a specific bucket and namespace
    Note: Objects should always be created or deserialized using the ObjectStorageArchiveSourceDetails.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 ObjectStorageArchiveSourceDetails.Builder, which maintain a set of all explicitly set fields called ObjectStorageArchiveSourceDetails.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).

    • Constructor Detail

      • ObjectStorageArchiveSourceDetails

        @Deprecated
        public ObjectStorageArchiveSourceDetails​(String bucketName,
                                                 String namespace,
                                                 String objectName,
                                                 String objectVersionId)
        Deprecated.
    • Method Detail

      • getBucketName

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

        public String getNamespace()
        The Object Storage namespace.
        Returns:
        the value
      • getObjectName

        public String getObjectName()
        The name of the Object Storage object.
        Returns:
        the value
      • getObjectVersionId

        public String getObjectVersionId()
        VersionId used to identify a particular version of the object.

        If not specified, the latest version of the object is used.

        Returns:
        the value
      • toString

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