Class JobTemplateTemplateArgs.Builder

  • Enclosing class:
    JobTemplateTemplateArgs

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

      • encryptionKey

        public JobTemplateTemplateArgs.Builder encryptionKey​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> encryptionKey)
        Parameters:
        encryptionKey - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
        Returns:
        builder
      • encryptionKey

        public JobTemplateTemplateArgs.Builder encryptionKey​(java.lang.String encryptionKey)
        Parameters:
        encryptionKey - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
        Returns:
        builder
      • executionEnvironment

        public JobTemplateTemplateArgs.Builder executionEnvironment​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> executionEnvironment)
        Parameters:
        executionEnvironment - The execution environment being used to host this Task. Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.
        Returns:
        builder
      • executionEnvironment

        public JobTemplateTemplateArgs.Builder executionEnvironment​(java.lang.String executionEnvironment)
        Parameters:
        executionEnvironment - The execution environment being used to host this Task. Possible values are: `EXECUTION_ENVIRONMENT_GEN1`, `EXECUTION_ENVIRONMENT_GEN2`.
        Returns:
        builder
      • maxRetries

        public JobTemplateTemplateArgs.Builder maxRetries​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> maxRetries)
        Parameters:
        maxRetries - Number of retries allowed per Task, before marking this Task failed.
        Returns:
        builder
      • maxRetries

        public JobTemplateTemplateArgs.Builder maxRetries​(java.lang.Integer maxRetries)
        Parameters:
        maxRetries - Number of retries allowed per Task, before marking this Task failed.
        Returns:
        builder
      • serviceAccount

        public JobTemplateTemplateArgs.Builder serviceAccount​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> serviceAccount)
        Parameters:
        serviceAccount - Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
        Returns:
        builder
      • serviceAccount

        public JobTemplateTemplateArgs.Builder serviceAccount​(java.lang.String serviceAccount)
        Parameters:
        serviceAccount - Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
        Returns:
        builder
      • timeout

        public JobTemplateTemplateArgs.Builder timeout​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> timeout)
        Parameters:
        timeout - Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
        Returns:
        builder
      • timeout

        public JobTemplateTemplateArgs.Builder timeout​(java.lang.String timeout)
        Parameters:
        timeout - Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
        Returns:
        builder
      • vpcAccess

        public JobTemplateTemplateArgs.Builder vpcAccess​(@Nullable
                                                         com.pulumi.core.Output<JobTemplateTemplateVpcAccessArgs> vpcAccess)
        Parameters:
        vpcAccess - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.
        Returns:
        builder
      • vpcAccess

        public JobTemplateTemplateArgs.Builder vpcAccess​(JobTemplateTemplateVpcAccessArgs vpcAccess)
        Parameters:
        vpcAccess - VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.
        Returns:
        builder