Class CreateObjectStorageArchiveSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.functions.model.CreateArchiveSourceDetails
-
- com.oracle.bmc.functions.model.CreateObjectStorageArchiveSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260325") public final class CreateObjectStorageArchiveSourceDetails extends CreateArchiveSourceDetailsSource details for creating the archive based 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 theCreateObjectStorageArchiveSourceDetails.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 theCreateObjectStorageArchiveSourceDetails.Builder, which maintain a set of all explicitly set fields calledCreateObjectStorageArchiveSourceDetails.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 classCreateObjectStorageArchiveSourceDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.functions.model.CreateArchiveSourceDetails
CreateArchiveSourceDetails.ArchiveSourceType
-
-
Constructor Summary
Constructors Constructor Description CreateObjectStorageArchiveSourceDetails(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 CreateObjectStorageArchiveSourceDetails.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()CreateObjectStorageArchiveSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateObjectStorageArchiveSourceDetails
@Deprecated public CreateObjectStorageArchiveSourceDetails(String bucketName, String namespace, String objectName, String objectVersionId)
Deprecated.
-
-
Method Detail
-
builder
public static CreateObjectStorageArchiveSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateObjectStorageArchiveSourceDetails.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 classCreateArchiveSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateArchiveSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateArchiveSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateArchiveSourceDetails
-
-