Class ObjectStorageArchiveSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.functions.model.ArchiveSourceDetails
-
- com.oracle.bmc.functions.model.ObjectStorageArchiveSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260325") public final class ObjectStorageArchiveSourceDetails extends ArchiveSourceDetailsThe 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 theObjectStorageArchiveSourceDetails.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 theObjectStorageArchiveSourceDetails.Builder, which maintain a set of all explicitly set fields calledObjectStorageArchiveSourceDetails.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 classObjectStorageArchiveSourceDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.functions.model.ArchiveSourceDetails
ArchiveSourceDetails.ArchiveSourceType
-
-
Constructor Summary
Constructors Constructor Description ObjectStorageArchiveSourceDetails(String bucketName, String namespace, String objectName, String objectVersionId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectStorageArchiveSourceDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBucketName()The name of the Object Storage bucket.StringgetNamespace()The Object Storage namespace.StringgetObjectName()The name of the Object Storage object.StringgetObjectVersionId()VersionId used to identify a particular version of the object.inthashCode()ObjectStorageArchiveSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ObjectStorageArchiveSourceDetails
@Deprecated public ObjectStorageArchiveSourceDetails(String bucketName, String namespace, String objectName, String objectVersionId)
Deprecated.
-
-
Method Detail
-
builder
public static ObjectStorageArchiveSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public ObjectStorageArchiveSourceDetails.Builder toBuilder()
-
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()
- Overrides:
toStringin classArchiveSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classArchiveSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classArchiveSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classArchiveSourceDetails
-
-