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