Package com.pulumi.gcp.cloudrunv2.inputs
Class JobTemplateTemplateContainerArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.cloudrunv2.inputs.JobTemplateTemplateContainerArgs.Builder
-
- Enclosing class:
- JobTemplateTemplateContainerArgs
public static final class JobTemplateTemplateContainerArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(JobTemplateTemplateContainerArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobTemplateTemplateContainerArgs defaults)
-
-
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
-
envs
public JobTemplateTemplateContainerArgs.Builder envs(@Nullable com.pulumi.core.Output<java.util.List<JobTemplateTemplateContainerEnvArgs>> envs)
- Parameters:
envs
- List of environment variables to set in the container. Structure is documented below.- Returns:
- builder
-
envs
public JobTemplateTemplateContainerArgs.Builder envs(java.util.List<JobTemplateTemplateContainerEnvArgs> envs)
- Parameters:
envs
- List of environment variables to set in the container. Structure is documented below.- Returns:
- builder
-
envs
public JobTemplateTemplateContainerArgs.Builder envs(JobTemplateTemplateContainerEnvArgs... envs)
- Parameters:
envs
- List of environment variables to set in the container. Structure is documented below.- 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
-
name
public JobTemplateTemplateContainerArgs.Builder name(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
-
resources
public JobTemplateTemplateContainerArgs.Builder resources(@Nullable com.pulumi.core.Output<JobTemplateTemplateContainerResourcesArgs> resources)
- Parameters:
resources
- Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.- Returns:
- builder
-
resources
public JobTemplateTemplateContainerArgs.Builder resources(JobTemplateTemplateContainerResourcesArgs resources)
- Parameters:
resources
- Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.- Returns:
- builder
-
volumeMounts
public JobTemplateTemplateContainerArgs.Builder volumeMounts(@Nullable com.pulumi.core.Output<java.util.List<JobTemplateTemplateContainerVolumeMountArgs>> volumeMounts)
- Parameters:
volumeMounts
- Volume to mount into the container's filesystem. Structure is documented below.- Returns:
- builder
-
volumeMounts
public JobTemplateTemplateContainerArgs.Builder volumeMounts(java.util.List<JobTemplateTemplateContainerVolumeMountArgs> volumeMounts)
- Parameters:
volumeMounts
- Volume to mount into the container's filesystem. Structure is documented below.- Returns:
- builder
-
volumeMounts
public JobTemplateTemplateContainerArgs.Builder volumeMounts(JobTemplateTemplateContainerVolumeMountArgs... volumeMounts)
- Parameters:
volumeMounts
- Volume to mount into the container's filesystem. 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
-
build
public JobTemplateTemplateContainerArgs build()
-
-