Package com.pulumi.aws.batch.inputs
Class JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder
-
- Enclosing class:
- JobDefinitionEksPropertiesPodPropertiesContainerArgs
public static final class JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(JobDefinitionEksPropertiesPodPropertiesContainerArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobDefinitionEksPropertiesPodPropertiesContainerArgs defaults)
-
-
Method Detail
-
args
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder args(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> args)
- Parameters:
args- Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.- Returns:
- builder
-
args
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder args(java.util.List<java.lang.String> args)
- Parameters:
args- Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.- Returns:
- builder
-
args
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder args(java.lang.String... args)
- Parameters:
args- Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.- Returns:
- builder
-
commands
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder commands(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> commands)
- Parameters:
commands- Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.- Returns:
- builder
-
commands
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder commands(java.util.List<java.lang.String> commands)
- Parameters:
commands- Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.- Returns:
- builder
-
commands
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder commands(java.lang.String... commands)
- Parameters:
commands- Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.- Returns:
- builder
-
envs
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder envs(@Nullable com.pulumi.core.Output<java.util.List<JobDefinitionEksPropertiesPodPropertiesContainerEnvArgs>> envs)
- Parameters:
envs- Environment variables to pass to a container. See `env` below.- Returns:
- builder
-
envs
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder envs(java.util.List<JobDefinitionEksPropertiesPodPropertiesContainerEnvArgs> envs)
- Parameters:
envs- Environment variables to pass to a container. See `env` below.- Returns:
- builder
-
envs
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder envs(JobDefinitionEksPropertiesPodPropertiesContainerEnvArgs... envs)
- Parameters:
envs- Environment variables to pass to a container. See `env` below.- Returns:
- builder
-
image
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder image(com.pulumi.core.Output<java.lang.String> image)
- Parameters:
image- Docker image used to start the container.- Returns:
- builder
-
image
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder image(java.lang.String image)
- Parameters:
image- Docker image used to start the container.- Returns:
- builder
-
imagePullPolicy
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder imagePullPolicy(@Nullable com.pulumi.core.Output<java.lang.String> imagePullPolicy)
- Parameters:
imagePullPolicy- Image pull policy for the container. Supported values are `Always`, `IfNotPresent`, and `Never`.- Returns:
- builder
-
imagePullPolicy
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder imagePullPolicy(java.lang.String imagePullPolicy)
- Parameters:
imagePullPolicy- Image pull policy for the container. Supported values are `Always`, `IfNotPresent`, and `Never`.- Returns:
- builder
-
name
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name.- Returns:
- builder
-
name
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name.- Returns:
- builder
-
resources
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder resources(@Nullable com.pulumi.core.Output<JobDefinitionEksPropertiesPodPropertiesContainerResourcesArgs> resources)
- Parameters:
resources- Type and amount of resources to assign to a container. See `resources` below.- Returns:
- builder
-
resources
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder resources(JobDefinitionEksPropertiesPodPropertiesContainerResourcesArgs resources)
- Parameters:
resources- Type and amount of resources to assign to a container. See `resources` below.- Returns:
- builder
-
securityContext
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder securityContext(@Nullable com.pulumi.core.Output<JobDefinitionEksPropertiesPodPropertiesContainerSecurityContextArgs> securityContext)
- Parameters:
securityContext- Security context for a job. See `securityContext` below.- Returns:
- builder
-
securityContext
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder securityContext(JobDefinitionEksPropertiesPodPropertiesContainerSecurityContextArgs securityContext)
- Parameters:
securityContext- Security context for a job. See `securityContext` below.- Returns:
- builder
-
volumeMounts
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder volumeMounts(@Nullable com.pulumi.core.Output<java.util.List<JobDefinitionEksPropertiesPodPropertiesContainerVolumeMountArgs>> volumeMounts)
- Parameters:
volumeMounts- Volume mounts for the container. See `volumeMounts` below.- Returns:
- builder
-
volumeMounts
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder volumeMounts(java.util.List<JobDefinitionEksPropertiesPodPropertiesContainerVolumeMountArgs> volumeMounts)
- Parameters:
volumeMounts- Volume mounts for the container. See `volumeMounts` below.- Returns:
- builder
-
volumeMounts
public JobDefinitionEksPropertiesPodPropertiesContainerArgs.Builder volumeMounts(JobDefinitionEksPropertiesPodPropertiesContainerVolumeMountArgs... volumeMounts)
- Parameters:
volumeMounts- Volume mounts for the container. See `volumeMounts` below.- Returns:
- builder
-
build
public JobDefinitionEksPropertiesPodPropertiesContainerArgs build()
-
-