Package com.oracle.bmc.functions.model
Class CreateContainerImageFunctionSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.functions.model.CreateFunctionSourceDetails
-
- com.oracle.bmc.functions.model.CreateContainerImageFunctionSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260325") public final class CreateContainerImageFunctionSourceDetails extends CreateFunctionSourceDetailsSource details for creating a container image based function.
Note: Objects should always be created or deserialized using theCreateContainerImageFunctionSourceDetails.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 theCreateContainerImageFunctionSourceDetails.Builder, which maintain a set of all explicitly set fields calledCreateContainerImageFunctionSourceDetails.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 classCreateContainerImageFunctionSourceDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.functions.model.CreateFunctionSourceDetails
CreateFunctionSourceDetails.SourceType
-
-
Constructor Summary
Constructors Constructor Description CreateContainerImageFunctionSourceDetails(String image, String imageDigest)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateContainerImageFunctionSourceDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetImage()The qualified name of the Docker image to use in the function, including the image tag.StringgetImageDigest()The image digest for the version of the image that will be pulled when invoking this function.inthashCode()CreateContainerImageFunctionSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateContainerImageFunctionSourceDetails
@Deprecated public CreateContainerImageFunctionSourceDetails(String image, String imageDigest)
Deprecated.
-
-
Method Detail
-
builder
public static CreateContainerImageFunctionSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateContainerImageFunctionSourceDetails.Builder toBuilder()
-
getImage
public String getImage()
The qualified name of the Docker image to use in the function, including the image tag.The image should be in the OCI Registry that is in the same region as the function itself. Example: phx.ocir.io/ten/functions/function:0.0.1
- Returns:
- the value
-
getImageDigest
public String getImageDigest()
The image digest for the version of the image that will be pulled when invoking this function.If no value is specified, the digest currently associated with the image in the OCI Registry will be used. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateFunctionSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateFunctionSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateFunctionSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateFunctionSourceDetails
-
-