Class JobTemplateTemplateContainerArgs.Builder

    • Method Detail

      • args

        public JobTemplateTemplateContainerArgs.Builder args​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<java.lang.String>> args)
        Parameters:
        args - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
        Returns:
        builder
      • args

        public JobTemplateTemplateContainerArgs.Builder args​(java.util.List<java.lang.String> args)
        Parameters:
        args - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
        Returns:
        builder
      • args

        public JobTemplateTemplateContainerArgs.Builder args​(java.lang.String... args)
        Parameters:
        args - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
        Returns:
        builder
      • commands

        public JobTemplateTemplateContainerArgs.Builder commands​(@Nullable
                                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> commands)
        Parameters:
        commands - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
        Returns:
        builder
      • commands

        public JobTemplateTemplateContainerArgs.Builder commands​(java.util.List<java.lang.String> commands)
        Parameters:
        commands - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
        Returns:
        builder
      • commands

        public JobTemplateTemplateContainerArgs.Builder commands​(java.lang.String... commands)
        Parameters:
        commands - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
        Returns:
        builder
      • image

        public JobTemplateTemplateContainerArgs.Builder image​(com.pulumi.core.Output<java.lang.String> image)
        Parameters:
        image - URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
        Returns:
        builder
      • image

        public JobTemplateTemplateContainerArgs.Builder image​(java.lang.String image)
        Parameters:
        image - URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
        Returns:
        builder
      • name

        public JobTemplateTemplateContainerArgs.Builder name​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the container specified as a DNS_LABEL.
        Returns:
        builder
      • ports

        public JobTemplateTemplateContainerArgs.Builder ports​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<JobTemplateTemplateContainerPortArgs>> ports)
        Parameters:
        ports - List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.
        Returns:
        builder
      • ports

        public JobTemplateTemplateContainerArgs.Builder ports​(java.util.List<JobTemplateTemplateContainerPortArgs> ports)
        Parameters:
        ports - List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.
        Returns:
        builder
      • ports

        public JobTemplateTemplateContainerArgs.Builder ports​(JobTemplateTemplateContainerPortArgs... ports)
        Parameters:
        ports - List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.
        Returns:
        builder
      • workingDir

        public JobTemplateTemplateContainerArgs.Builder workingDir​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> workingDir)
        Parameters:
        workingDir - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
        Returns:
        builder
      • workingDir

        public JobTemplateTemplateContainerArgs.Builder workingDir​(java.lang.String workingDir)
        Parameters:
        workingDir - Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
        Returns:
        builder