Package com.oracle.bmc.functions.model
Class ContainerImageFunctionSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.functions.model.FunctionSourceDetails
-
- com.oracle.bmc.functions.model.ContainerImageFunctionSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260325") public final class ContainerImageFunctionSourceDetails extends FunctionSourceDetailsSource details of a container image based function.
Note: Objects should always be created or deserialized using theContainerImageFunctionSourceDetails.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 theContainerImageFunctionSourceDetails.Builder, which maintain a set of all explicitly set fields calledContainerImageFunctionSourceDetails.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 classContainerImageFunctionSourceDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.functions.model.FunctionSourceDetails
FunctionSourceDetails.SourceType
-
-
Constructor Summary
Constructors Constructor Description ContainerImageFunctionSourceDetails(String image, String imageDigest)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerImageFunctionSourceDetails.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()ContainerImageFunctionSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ContainerImageFunctionSourceDetails
@Deprecated public ContainerImageFunctionSourceDetails(String image, String imageDigest)
Deprecated.
-
-
Method Detail
-
builder
public static ContainerImageFunctionSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public ContainerImageFunctionSourceDetails.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 classFunctionSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classFunctionSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classFunctionSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFunctionSourceDetails
-
-