Class CreateDirectArchiveSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.functions.model.CreateArchiveSourceDetails
-
- com.oracle.bmc.functions.model.CreateDirectArchiveSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260325") public final class CreateDirectArchiveSourceDetails extends CreateArchiveSourceDetailsSource details for creating the archive based function from Direct Archive.This allows the API caller to directly upload the function code as a base64-encoded archive file. It is useful when the caller wants to provide the code inline during function creation.
Note: Objects should always be created or deserialized using theCreateDirectArchiveSourceDetails.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 theCreateDirectArchiveSourceDetails.Builder, which maintain a set of all explicitly set fields calledCreateDirectArchiveSourceDetails.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 classCreateDirectArchiveSourceDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.functions.model.CreateArchiveSourceDetails
CreateArchiveSourceDetails.ArchiveSourceType
-
-
Constructor Summary
Constructors Constructor Description CreateDirectArchiveSourceDetails(byte[] archiveFile)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDirectArchiveSourceDetails.Builderbuilder()Create a new builder.booleanequals(Object o)byte[]getArchiveFile()The base64-encoded archive file of the function code.inthashCode()CreateDirectArchiveSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDirectArchiveSourceDetails
@Deprecated public CreateDirectArchiveSourceDetails(byte[] archiveFile)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDirectArchiveSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDirectArchiveSourceDetails.Builder toBuilder()
-
getArchiveFile
public byte[] getArchiveFile()
The base64-encoded archive file of the function code.The archive file must contain all the files for the function. Please refer to functions documentation for maximum allowed size and supported archive formats.
- 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
-
-