Package com.pulumi.aws.batch.inputs
Class JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder
-
- Enclosing class:
- JobDefinitionEksPropertiesPodPropertiesInitContainerArgs
public static final class JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(JobDefinitionEksPropertiesPodPropertiesInitContainerArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobDefinitionEksPropertiesPodPropertiesInitContainerArgs defaults)
-
-
Method Detail
-
args
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder envs(@Nullable com.pulumi.core.Output<java.util.List<JobDefinitionEksPropertiesPodPropertiesInitContainerEnvArgs>> envs)
- Parameters:
envs- Environment variables to pass to a container. See `env` below.- Returns:
- builder
-
envs
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder envs(java.util.List<JobDefinitionEksPropertiesPodPropertiesInitContainerEnvArgs> envs)
- Parameters:
envs- Environment variables to pass to a container. See `env` below.- Returns:
- builder
-
envs
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder envs(JobDefinitionEksPropertiesPodPropertiesInitContainerEnvArgs... envs)
- Parameters:
envs- Environment variables to pass to a container. See `env` below.- Returns:
- builder
-
image
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder image(com.pulumi.core.Output<java.lang.String> image)
- Parameters:
image- Docker image used to start the container.- Returns:
- builder
-
image
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder image(java.lang.String image)
- Parameters:
image- Docker image used to start the container.- Returns:
- builder
-
imagePullPolicy
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.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 JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder resources(@Nullable com.pulumi.core.Output<JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs> resources)
- Parameters:
resources- Type and amount of resources to assign to a container. See `resources` below.- Returns:
- builder
-
resources
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder resources(JobDefinitionEksPropertiesPodPropertiesInitContainerResourcesArgs resources)
- Parameters:
resources- Type and amount of resources to assign to a container. See `resources` below.- Returns:
- builder
-
securityContext
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder securityContext(@Nullable com.pulumi.core.Output<JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs> securityContext)
- Parameters:
securityContext- Security context for a job. See `securityContext` below.- Returns:
- builder
-
securityContext
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder securityContext(JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs securityContext)
- Parameters:
securityContext- Security context for a job. See `securityContext` below.- Returns:
- builder
-
volumeMounts
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder volumeMounts(@Nullable com.pulumi.core.Output<java.util.List<JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs>> volumeMounts)
- Parameters:
volumeMounts- Volume mounts for the container. See `volumeMounts` below.- Returns:
- builder
-
volumeMounts
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder volumeMounts(java.util.List<JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs> volumeMounts)
- Parameters:
volumeMounts- Volume mounts for the container. See `volumeMounts` below.- Returns:
- builder
-
volumeMounts
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs.Builder volumeMounts(JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs... volumeMounts)
- Parameters:
volumeMounts- Volume mounts for the container. See `volumeMounts` below.- Returns:
- builder
-
build
public JobDefinitionEksPropertiesPodPropertiesInitContainerArgs build()
-
-