Package com.oracle.bmc.functions.model
Class ContainerImageFunctionSourceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.functions.model.ContainerImageFunctionSourceDetails.Builder
-
- Enclosing class:
- ContainerImageFunctionSourceDetails
public static class ContainerImageFunctionSourceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerImageFunctionSourceDetailsbuild()ContainerImageFunctionSourceDetails.Buildercopy(ContainerImageFunctionSourceDetails model)ContainerImageFunctionSourceDetails.Builderimage(String image)The qualified name of the Docker image to use in the function, including the image tag.ContainerImageFunctionSourceDetails.BuilderimageDigest(String imageDigest)The image digest for the version of the image that will be pulled when invoking this function.
-
-
-
Method Detail
-
image
public ContainerImageFunctionSourceDetails.Builder image(String image)
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
- Parameters:
image- the value to set- Returns:
- this builder
-
imageDigest
public ContainerImageFunctionSourceDetails.Builder imageDigest(String imageDigest)
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
- Parameters:
imageDigest- the value to set- Returns:
- this builder
-
build
public ContainerImageFunctionSourceDetails build()
-
copy
public ContainerImageFunctionSourceDetails.Builder copy(ContainerImageFunctionSourceDetails model)
-
-