Class FunctionBuildConfigArgs.Builder

  • Enclosing class:
    FunctionBuildConfigArgs

    public static final class FunctionBuildConfigArgs.Builder
    extends java.lang.Object
    • Method Detail

      • build

        public FunctionBuildConfigArgs.Builder build​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> build)
        Parameters:
        build - (Output) The Cloud Build name of the latest successful deployment of the function.
        Returns:
        builder
      • build

        public FunctionBuildConfigArgs.Builder build​(java.lang.String build)
        Parameters:
        build - (Output) The Cloud Build name of the latest successful deployment of the function.
        Returns:
        builder
      • dockerRepository

        public FunctionBuildConfigArgs.Builder dockerRepository​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> dockerRepository)
        Parameters:
        dockerRepository - User managed repository created in Artifact Registry optionally with a customer managed encryption key.
        Returns:
        builder
      • dockerRepository

        public FunctionBuildConfigArgs.Builder dockerRepository​(java.lang.String dockerRepository)
        Parameters:
        dockerRepository - User managed repository created in Artifact Registry optionally with a customer managed encryption key.
        Returns:
        builder
      • entryPoint

        public FunctionBuildConfigArgs.Builder entryPoint​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> entryPoint)
        Parameters:
        entryPoint - The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
        Returns:
        builder
      • entryPoint

        public FunctionBuildConfigArgs.Builder entryPoint​(java.lang.String entryPoint)
        Parameters:
        entryPoint - The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
        Returns:
        builder
      • environmentVariables

        public FunctionBuildConfigArgs.Builder environmentVariables​(@Nullable
                                                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> environmentVariables)
        Parameters:
        environmentVariables - User-provided build-time environment variables for the function.
        Returns:
        builder
      • environmentVariables

        public FunctionBuildConfigArgs.Builder environmentVariables​(java.util.Map<java.lang.String,​java.lang.String> environmentVariables)
        Parameters:
        environmentVariables - User-provided build-time environment variables for the function.
        Returns:
        builder
      • runtime

        public FunctionBuildConfigArgs.Builder runtime​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> runtime)
        Parameters:
        runtime - The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
        Returns:
        builder
      • runtime

        public FunctionBuildConfigArgs.Builder runtime​(java.lang.String runtime)
        Parameters:
        runtime - The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
        Returns:
        builder
      • workerPool

        public FunctionBuildConfigArgs.Builder workerPool​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> workerPool)
        Parameters:
        workerPool - Name of the Cloud Build Custom Worker Pool that should be used to build the function.
        Returns:
        builder
      • workerPool

        public FunctionBuildConfigArgs.Builder workerPool​(java.lang.String workerPool)
        Parameters:
        workerPool - Name of the Cloud Build Custom Worker Pool that should be used to build the function.
        Returns:
        builder